From 5572fb9a75c1dd618db8adcd8b91e90c18fd3fff Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 2 May 2014 11:33:15 +0200 Subject: [PATCH] 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 file changed, 2 deletions(-) diff --git a/panels/region/cc-input-options.c b/panels/region/cc-input-options.c index 7f4d2369d..8a2d3981f 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 ("", next[0], NULL); update_shortcut_label (priv->previous_source, previous_shortcut); update_shortcut_label (priv->next_source, next[0]);