[gnome-control-center/wip/input-sources] Add input source shortcuts to the keyboard panel



commit b005004f4cf33e870fe6bddb588f6f77a5f32377
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 16 20:33:47 2011 -0500

    Add input source shortcuts to the keyboard panel
    
    This relies on code in the wip/ibus branch of gnome-settings-daemon
    which installs the corresponding schema.

 panels/keyboard/60-ibus.xml.in |   11 +++++++++++
 panels/keyboard/Makefile.am    |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/panels/keyboard/60-ibus.xml.in b/panels/keyboard/60-ibus.xml.in
new file mode 100644
index 0000000..ddd5156
--- /dev/null
+++ b/panels/keyboard/60-ibus.xml.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<KeyListEntries group="system" schema="desktop.ibus.shortcuts" _name="Input Sources">
+
+        <KeyListEntry name="next-input-source"
+                      _description="Switch to next source"/>
+
+        <KeyListEntry name="previous-input-source"
+                      _description="Switch to previous source"/>
+
+</KeyListEntries>
+
diff --git a/panels/keyboard/Makefile.am b/panels/keyboard/Makefile.am
index 3498894..73d2749 100644
--- a/panels/keyboard/Makefile.am
+++ b/panels/keyboard/Makefile.am
@@ -33,7 +33,7 @@ desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_XML_NOMERGE_RULE@
 
 xmldir       = $(pkgdatadir)/keybindings
-xml_in_files = 00-multimedia.xml.in 01-launchers.xml.in 01-screenshot.xml.in 01-system.xml.in 50-accessibility.xml.in
+xml_in_files = 00-multimedia.xml.in 01-launchers.xml.in 01-screenshot.xml.in 01-system.xml.in 50-accessibility.xml.in 60-ibus.xml.in
 xml_DATA     = $(xml_in_files:.xml.in=.xml)
 
 pkgconfigdir = $(datadir)/pkgconfig



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