diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-02-08 11:57:39 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2013-02-08 11:57:39 +1300 |
commit | 5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2 (patch) | |
tree | 1e801ad7456601423af6ed45f60f7478f4a976ff /data | |
parent | 4643e1008371882190c7dcc3dfcec12d6008152b (diff) | |
download | ayatana-indicator-bluetooth-5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2.tar.gz ayatana-indicator-bluetooth-5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2.tar.bz2 ayatana-indicator-bluetooth-5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2.zip |
Support existing gsettings key to disable indicator
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 11 | ||||
-rw-r--r-- | data/com.canonical.indicator.bluetooth.gschema.xml.in | 9 |
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> |