aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am11
-rw-r--r--data/com.canonical.indicator.bluetooth.gschema.xml.in9
2 files changed, 18 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index ac63ebc..6f16e85 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,7 +4,14 @@ dbus_services_DATA = indicator-bluetooth.service
%.service: %.service.in
sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
-EXTRA_DIST = indicator-bluetooth.service.in
+gsettings_SCHEMAS = com.canonical.indicator.bluetooth.gschema.xml
+@INTLTOOL_XML_NOMERGE_RULE@
+@GSETTINGS_RULES@
+
+EXTRA_DIST = \
+ indicator-bluetooth.service.in \
+ com.canonical.indicator.bluetooth.gschema.xml.in
CLEANFILES = \
- $(dbus_services_DATA)
+ $(dbus_services_DATA) \
+ $(gsettings_SCHEMAS)
diff --git a/data/com.canonical.indicator.bluetooth.gschema.xml.in b/data/com.canonical.indicator.bluetooth.gschema.xml.in
new file mode 100644
index 0000000..cb60641
--- /dev/null
+++ b/data/com.canonical.indicator.bluetooth.gschema.xml.in
@@ -0,0 +1,9 @@
+<schemalist>
+ <schema id="com.canonical.indicator.bluetooth" path="/com/canonical/indicator/bluetooth/">
+ <key name="visible" type="b">
+ <default>true</default>
+ <_summary>Whether or not to show the bluetooth indicator in the menu bar.</_summary>
+ <_description>Whether or not to show the bluetooth indicator in the menu bar.</_description>
+ </key>
+ </schema>
+</schemalist>