aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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>