From 5ab20c16591d13dff5cf3b41f98ae46bfd6e2fa2 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Fri, 8 Feb 2013 11:57:39 +1300 Subject: Support existing gsettings key to disable indicator --- data/Makefile.am | 11 +++++++++-- data/com.canonical.indicator.bluetooth.gschema.xml.in | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 data/com.canonical.indicator.bluetooth.gschema.xml.in (limited to 'data') 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 @@ + + + + true + <_summary>Whether or not to show the bluetooth indicator in the menu bar. + <_description>Whether or not to show the bluetooth indicator in the menu bar. + + + -- cgit v1.2.3