From db0ebaa3de76091a9b3ad2dbb6823172ae06f7fe Mon Sep 17 00:00:00 2001 From: William Hua Date: Mon, 1 Jul 2013 10:22:08 -0400 Subject: Add indicator schema. --- configure.ac | 2 ++ data/Makefile.am | 7 ++++++- data/com.canonical.indicator.keyboard.gschema.xml | 15 +++++++++++++++ debian/changelog | 6 ++++++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 data/com.canonical.indicator.keyboard.gschema.xml 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 @@ + + + + + Keyboard layouts migrated + True if keyboard layouts were migrated, false otherwise. + false + + + Keyboard indicator visibility + True if the keyboard indicator is shown, false otherwise. + true + + + 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 Mon, 01 Jul 2013 10:21:40 -0400 + indicator-keyboard (0.0.0-0ubuntu17) saucy; urgency=low * Minor fixes. -- cgit v1.2.3