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



commit bac5824df49952c16d4fd81fe26945769df5a0ff
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 |   25 ++++++++++++++++++++
 2 files changed, 27 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..241ad44
--- /dev/null
+++ b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
@@ -0,0 +1,25 @@
+<schemalist gettext-domain="gsettings-desktop-schemas">
+  <schema id="org.gnome.desktop.input-sources"
+          path="/org/gnome/desktop/input-sources/">
+    <key name="current" type="(sss)">
+      <default>('English (US)', 'us', '')</default>
+      <_summary>Current input source</_summary>
+      <_description>
+        Tuple describing the current input source. It's in the form
+        ('Source name', 'XKB layout name', 'IBus engine name'). The
+        IBus engine name may be a 0 length string in case IBus isn't
+        required.
+      </_description>
+    </key>
+    <key name="sources" type="a(sss)">
+      <default>[('English (US)', 'us', '')]</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 ('Source name',
+        'XKB layout name', 'IBus engine name'). The IBus engine name
+        may be a 0 length string in case IBus isn't required.
+      </_description>
+    </key>
+  </schema>
+</schemalist>



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