[gsettings-desktop-schemas] schemas: Add the input-sources schema



commit 453ba2abe1c135a2176ed899a7b22dfb80cace71
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Apr 16 22:55:46 2012 +0200

    schemas: Add the input-sources schema
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676101

 configure.ac                                       |    2 +-
 schemas/Makefile.am                                |    3 +-
 ...g.gnome.desktop.input-sources.gschema.xml.in.in |   27 ++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 881b18f..0d84904 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.53)
-AC_INIT([gsettings-desktop-schemas], [3.4.1],
+AC_INIT([gsettings-desktop-schemas], [3.5.1],
         [http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas])
 AC_CONFIG_SRCDIR(schemas/org.gnome.desktop.default-applications.gschema.xml.in.in)
 AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-xz])
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index a8a6cdb..69722fb 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -16,7 +16,8 @@ desktop_gschemas_in_in =						\
 	org.gnome.desktop.media-handling.gschema.xml.in.in		\
 	org.gnome.desktop.screensaver.gschema.xml.in.in			\
 	org.gnome.desktop.wm.keybindings.gschema.xml.in.in		\
-	org.gnome.desktop.wm.preferences.gschema.xml.in.in
+	org.gnome.desktop.wm.preferences.gschema.xml.in.in		\
+	org.gnome.desktop.input-sources.gschema.xml.in.in
 
 @INTLTOOL_XML_NOMERGE_RULE@
 
diff --git a/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
new file mode 100644
index 0000000..1c2bf92
--- /dev/null
+++ b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
@@ -0,0 +1,27 @@
+<schemalist gettext-domain="gsettings-desktop-schemas">
+  <schema id="org.gnome.desktop.input-sources"
+          path="/org/gnome/desktop/input-sources/">
+    <key name="current" type="u">
+      <default>0</default>
+      <_summary>Current input source</_summary>
+      <_description>
+        The zero-based index into the input sources list specifying
+        the current one in effect. The value is automatically capped
+        to remain in the range [0, sources_length).
+      </_description>
+    </key>
+    <key name="sources" type="a(ss)">
+      <default>[('xkb', 'us')]</default>
+      <_summary>List of input sources</_summary>
+      <_description>
+        List of input source identifiers available.
+        Each source is specified as a tuple of 2 strings.
+        The first string is the type and can be one of 'xkb' or
+        'ibus'. For 'xkb' sources the second string is
+        'xkb_layout+xkb_variant' or just 'xkb_layout' if a XKB variant
+        isn't needed. For 'ibus' sources the second string is the IBus
+        engine name.
+      </_description>
+    </key>
+  </schema>
+</schemalist>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]