aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am7
-rw-r--r--data/com.canonical.indicator.keyboard.gschema.xml15
2 files changed, 21 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 06603061..6157e491 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -51,5 +51,10 @@ com.canonical.indicator.keyboard:
echo 'ObjectPath=/com/canonical/indicator/keyboard/desktop') > $@.tmp && \
mv $@.tmp $@
+gsettings_SCHEMAS = com.canonical.indicator.keyboard.gschema.xml
+
+@GSETTINGS_RULES@
+
EXTRA_DIST = $(dist_service_DATA) \
- $(dist_indicator_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..9ee74fd3
--- /dev/null
+++ b/data/com.canonical.indicator.keyboard.gschema.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+ <schema id="com.canonical.indicator.keyboard" path="/com/canonical/indicator/keyboard/">
+ <key name="migrated" type="b">
+ <summary>Keyboard layouts migrated</summary>
+ <description>True if keyboard layouts were migrated, false otherwise.</description>
+ <default>false</default>
+ </key>
+ <key name="visible" type="b">
+ <summary>Keyboard indicator visibility</summary>
+ <description>True if the keyboard indicator is shown, false otherwise.</description>
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>