From 5a86d06d8019cd9a827f69839d23268a2a6ebc51 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Wed, 27 Jan 2010 13:21:02 +0000 Subject: copied contents from lp:~cjcurran/wasilla/soundmenu without the noise --- data/Makefile.am | 42 +++++++++++++++++++++++++++++++++++++++++ data/indicator-sound.schemas.in | 16 ++++++++++++++++ data/indicator-sound.service.in | 3 +++ 3 files changed, 61 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/indicator-sound.schemas.in create mode 100644 data/indicator-sound.service.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..0389576 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,42 @@ + +dbus_servicesdir = $(DBUSSERVICEDIR) +service_in_files = indicator-sound.service.in +dbus_services_DATA = $(service_in_files:.service.in=.service) + +%.service: %.service.in + sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + +############################## +# GConf Schema +############################## + +schemadir = \ + $(GCONF_SCHEMA_FILE_DIR) + +schema_in_files = \ + indicator-sound.schemas.in + +schema_DATA = \ + $(schema_in_files:.schemas.in=.schemas) + +@INTLTOOL_SCHEMAS_RULE@ + + +#$(dbus_services_DATA): $(service_in_files) Makefile +# sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + +EXTRA_DIST = \ + $(service_in_files) \ + $(schema_in_files) + +CLEANFILES = \ + $(dbus_services_DATA) \ + $(schema_DATA) + +if GCONF_SCHEMAS_INSTALL +install-data-local: + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + gconftool-2 --makefile-install-rule $(schema_DATA) +else +install-data-local: +endif diff --git a/data/indicator-sound.schemas.in b/data/indicator-sound.schemas.in new file mode 100644 index 0000000..9ad0f39 --- /dev/null +++ b/data/indicator-sound.schemas.in @@ -0,0 +1,16 @@ + + + + + /schemas/apps/indicator-sound/volume_mute + /apps/indicator-sound/volume_mute + indicator-sound + bool + FALSE + + Volume is not muted by default + On start up volume should not be muted. + + + + diff --git a/data/indicator-sound.service.in b/data/indicator-sound.service.in new file mode 100644 index 0000000..883d31d --- /dev/null +++ b/data/indicator-sound.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.ayatana.indicator.sound +Exec=@libexecdir@/indicator-sound-service -- cgit v1.2.3