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



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

    schemas: Add the input-sources schema

 schemas/Makefile.am                                |    3 +-
 ...g.gnome.desktop.input-sources.gschema.xml.in.in |   24 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)
---
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..c042215
--- /dev/null
+++ b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
@@ -0,0 +1,24 @@
+<schemalist gettext-domain="gsettings-desktop-schemas">
+  <schema id="org.gnome.desktop.input-sources"
+          path="/org/gnome/desktop/input-sources/">
+    <key name="current" type="(sms)">
+      <default>('us', nothing)</default>
+      <_summary>Current input source</_summary>
+      <_description>
+        Tuple describing the current input source. The tuple is in the
+        form ('XKB layout name', 'IBus engine name'). The IBus engine
+        name may be omitted in case IBus isn't required.
+      </_description>
+    </key>
+    <key name="sources" type="a(sms)">
+      <default>[('us', nothing)]</default>
+      <_summary>List of input sources</_summary>
+      <_description>
+        List of tuples describing the input sources available for
+        quick switching. The tuples are in the form
+        ('XKB layout name', 'IBus engine name'). The IBus engine name
+        may be omitted in case IBus isn't required.
+      </_description>
+    </key>
+  </schema>
+</schemalist>



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