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



commit 981384f90110124d8016cf0316cf7b595c43a9b8
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 |   23 ++++++++++++++++++++
 2 files changed, 25 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..8361b75
--- /dev/null
+++ b/schemas/org.gnome.desktop.input-sources.gschema.xml.in.in
@@ -0,0 +1,23 @@
+<schemalist gettext-domain="gsettings-desktop-schemas">
+  <schema id="org.gnome.desktop.input-sources"
+          path="/org/gnome/desktop/input-sources/">
+    <key name="current" type="(sssss)">
+      <default>('English (US)', 'en', 'us', '', '')</default>
+      <_summary>Current input source</_summary>
+      <_description>
+        Tuple describing the current input source. It's in the form
+        ('Name', 'Short name', 'XKB layout', 'XKB variant', 'IBus
+        engine').
+      </_description>
+    </key>
+    <key name="sources" type="a(sssss)">
+      <default>[('English (US)', 'en', '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 ('Name', 'Short
+        name', 'XKB layout', 'XKB variant', 'IBus engine').
+      </_description>
+    </key>
+  </schema>
+</schemalist>



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