From 8f6a5960576a20bd6f6be731ad8d3dba6348927a Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 16 Feb 2014 14:48:17 -0500 Subject: Properly handle shift tab in keyboard shortcuts --- src/fe-gtk/fkeys.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c index 36502325..016a1178 100644 --- a/src/fe-gtk/fkeys.c +++ b/src/fe-gtk/fkeys.c @@ -398,6 +398,10 @@ key_dialog_set_key (GtkCellRendererAccel *accel, gchar *pathstr, guint accel_key GtkTreeIter iter; gchar *label_name, *accel_name; + /* Shift tab requires an exception, hopefully that list ends here.. */ + if (accel_key == GDK_KEY_Tab && accel_mods & GDK_SHIFT_MASK) + accel_key = GDK_KEY_ISO_Left_Tab; + label_name = gtk_accelerator_get_label (accel_key, key_modifier_get_valid (accel_mods)); accel_name = gtk_accelerator_name (accel_key, key_modifier_get_valid (accel_mods)); -- cgit 1.4.1