aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--data/Makefile.am7
-rw-r--r--data/com.canonical.indicator.keyboard.gschema.xml15
-rw-r--r--debian/changelog6
4 files changed, 29 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0852bb50..406348b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,8 @@ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The prefix for our
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL
+GLIB_GSETTINGS
+
PKG_CHECK_MODULES([GEE], [gee-1.0])
AC_SUBST([GEE_CFLAGS])
AC_SUBST([GEE_LIBS])
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>
diff --git a/debian/changelog b/debian/changelog
index e5c85b38..89c2c0e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+indicator-keyboard (0.0.0-0ubuntu18) UNRELEASED; urgency=low
+
+ * Add indicator schema.
+
+ -- William Hua <william.hua@canonical.com> Mon, 01 Jul 2013 10:21:40 -0400
+
indicator-keyboard (0.0.0-0ubuntu17) saucy; urgency=low
* Minor fixes.