diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-02-11 20:25:30 +0000 |
---|---|---|
committer | Tarmac <> | 2013-02-11 20:25:30 +0000 |
commit | c3b9103a6e36220e11fbb55cc6849ee91fdf658d (patch) | |
tree | 1e801ad7456601423af6ed45f60f7478f4a976ff /data | |
parent | b4ead8b4ab91eeaa50393e92eeedb43cd08ec98b (diff) | |
parent | 5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2 (diff) | |
download | ayatana-indicator-bluetooth-c3b9103a6e36220e11fbb55cc6849ee91fdf658d.tar.gz ayatana-indicator-bluetooth-c3b9103a6e36220e11fbb55cc6849ee91fdf658d.tar.bz2 ayatana-indicator-bluetooth-c3b9103a6e36220e11fbb55cc6849ee91fdf658d.zip |
Support existing gsettings key to disable indicator. Fixes: https://bugs.launchpad.net/bugs/1115394.
Approved by Mathieu Trudel-Lapierre.
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> |