aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-07-01 10:22:08 -0400
committerWilliam Hua <william.hua@canonical.com>2013-07-01 10:22:08 -0400
commitdb0ebaa3de76091a9b3ad2dbb6823172ae06f7fe (patch)
tree77f4675b2e690d92ed646026f2719fa9accf4c08 /data
parent40fb7635253621b3dfe159e78c160dfc95837a85 (diff)
downloadayatana-indicator-keyboard-db0ebaa3de76091a9b3ad2dbb6823172ae06f7fe.tar.gz
ayatana-indicator-keyboard-db0ebaa3de76091a9b3ad2dbb6823172ae06f7fe.tar.bz2
ayatana-indicator-keyboard-db0ebaa3de76091a9b3ad2dbb6823172ae06f7fe.zip
Add indicator schema.
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>