[gnome-control-center] keyboard: Add key bindings to switch input sources



commit 5e4376cfdeaf970543d761dfbb6ddfe232a19c43
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Apr 19 05:43:38 2012 +0200

    keyboard: Add key bindings to switch input sources
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662489

 panels/keyboard/01-input-sources.xml.in |   12 ++++++++++++
 panels/keyboard/Makefile.am             |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/panels/keyboard/01-input-sources.xml.in b/panels/keyboard/01-input-sources.xml.in
new file mode 100644
index 0000000..f8bf531
--- /dev/null
+++ b/panels/keyboard/01-input-sources.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<KeyListEntries group="system"
+                schema="org.gnome.settings-daemon.plugins.media-keys"
+                _name="Input Sources">
+
+  <KeyListEntry name="switch-input-source"
+                _description="Switch to next source"/>
+
+  <KeyListEntry name="switch-input-source-backward"
+                _description="Switch to previous source"/>
+
+</KeyListEntries>
diff --git a/panels/keyboard/Makefile.am b/panels/keyboard/Makefile.am
index 3498894..9623403 100644
--- a/panels/keyboard/Makefile.am
+++ b/panels/keyboard/Makefile.am
@@ -33,7 +33,13 @@ 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-input-sources.xml.in	\
+	01-launchers.xml.in 	\
+	01-screenshot.xml.in 	\
+	01-system.xml.in 	\
+	50-accessibility.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]