aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-04-29 22:38:23 -0700
committerWilliam Hua <william.hua@canonical.com>2013-04-29 22:38:23 -0700
commit0d409ee73408a8ba66b31d2c343994302b0b7c81 (patch)
treeebc8f0a3c11cbd77eca162aa6bdd1bf5c80a2e96 /data
parent2351bfaad6b980a54eef83ff01a6f14a9eddeea4 (diff)
downloadayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.tar.gz
ayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.tar.bz2
ayatana-indicator-keyboard-0d409ee73408a8ba66b31d2c343994302b0b7c81.zip
Indicator visible setting.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
-rw-r--r--data/com.canonical.indicator.keyboard.gschema.xml10
2 files changed, 17 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6171aaf0..b5212e94 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -17,4 +17,10 @@ indicator-keyboard.indicator:
echo 'ObjectPath=/com/canonical/indicator/keyboard') > $@.tmp && \
mv $@.tmp $@
-EXTRA_DIST = $(dist_service_DATA) $(dist_indicator_DATA)
+gsettings_SCHEMAS = com.canonical.indicator.keyboard.gschema.xml
+
+@GSETTINGS_RULES@
+
+EXTRA_DIST = $(dist_service_DATA) \
+ $(dist_indicator_DATA) \
+ $(gsettings_SCHEMAS)
diff --git a/data/com.canonical.indicator.keyboard.gschema.xml b/data/com.canonical.indicator.keyboard.gschema.xml
new file mode 100644
index 00000000..b201ec3c
--- /dev/null
+++ b/data/com.canonical.indicator.keyboard.gschema.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+ <schema path="/com/canonical/indicator/keyboard/" id="com.canonical.indicator.keyboard">
+ <key type="b" name="visible">
+ <default>true</default>
+ <summary>Keyboard indicator visibility</summary>
+ <description>True if the keyboard indicator is shown, false otherwise.</description>
+ </key>
+ </schema>
+</schemalist>