aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-01-27 13:21:02 +0000
committerConor Curran <conor.curran@canonical.com>2010-01-27 13:21:02 +0000
commit5a86d06d8019cd9a827f69839d23268a2a6ebc51 (patch)
tree4c76cffbc028fbe585199f794e99c5cc13fda83f /data
parentef9c492c6203cbc1a72aca7c48eb3ada324f2581 (diff)
downloadayatana-indicator-sound-5a86d06d8019cd9a827f69839d23268a2a6ebc51.tar.gz
ayatana-indicator-sound-5a86d06d8019cd9a827f69839d23268a2a6ebc51.tar.bz2
ayatana-indicator-sound-5a86d06d8019cd9a827f69839d23268a2a6ebc51.zip
copied contents from lp:~cjcurran/wasilla/soundmenu without the noise
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am42
-rw-r--r--data/indicator-sound.schemas.in16
-rw-r--r--data/indicator-sound.service.in3
3 files changed, 61 insertions, 0 deletions
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 @@
+<?xml version="1.0"?>
+<gconfschemafile>
+ <schemalist>
+ <schema>
+ <key>/schemas/apps/indicator-sound/volume_mute</key>
+ <applyto>/apps/indicator-sound/volume_mute</applyto>
+ <owner>indicator-sound</owner>
+ <type>bool</type>
+ <default>FALSE</default>
+ <locale name="C">
+ <short>Volume is not muted by default</short>
+ <long>On start up volume should not be muted.</long>
+ </locale>
+ </schema>
+ </schemalist>
+</gconfschemafile>
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