[gnome-control-center] region: Remove "Shift" hack from region panel



commit 5572fb9a75c1dd618db8adcd8b91e90c18fd3fff
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Fri May 2 11:33:15 2014 +0200

    region: Remove "Shift" hack from region panel
    
    The region panel hardcodes that to switch input source backward, one
    uses the shift modfier with the shortcut to switch input source forward.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731618

 panels/region/cc-input-options.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/region/cc-input-options.c b/panels/region/cc-input-options.c
index 7f4d236..8a2d398 100644
--- a/panels/region/cc-input-options.c
+++ b/panels/region/cc-input-options.c
@@ -88,8 +88,6 @@ update_shortcuts (GtkWidget *options)
         next = g_settings_get_strv (settings, "switch-input-source");
 
         previous_shortcut = g_strdup (previous[0]);
-        if (!previous_shortcut && next[0] && *next[0])
-                previous_shortcut = g_strconcat ("<Shift>", next[0], NULL);
 
         update_shortcut_label (priv->previous_source, previous_shortcut);
         update_shortcut_label (priv->next_source, next[0]);


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