[gnome-commander] tabs: fix for CTRL+SHIFT+TAB (go to the previous tab)



commit 478f12630a5e703204d0bf26ce78c3b1a88129fb
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Aug 21 12:55:29 2011 +0200

    tabs: fix for CTRL+SHIFT+TAB (go to the previous tab)

 src/gnome-cmd-file-selector.cc |    2 ++
 src/gnome-cmd-main-win.cc      |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 9e95f4b..9fc8762 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -1159,6 +1159,7 @@ gboolean GnomeCmdFileSelector::key_pressed(GdkEventKey *event)
         switch (event->keyval)
         {
             case GDK_Tab:
+            case GDK_ISO_Left_Tab:
                 view_prev_tab ();
                 return TRUE;
 
@@ -1205,6 +1206,7 @@ gboolean GnomeCmdFileSelector::key_pressed(GdkEventKey *event)
                 return TRUE;
 
             case GDK_Tab:
+            case GDK_ISO_Left_Tab:
                 view_next_tab ();
                 return TRUE;
 
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index f2825ce..db82f1a 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -1034,6 +1034,7 @@ gboolean GnomeCmdMainWin::key_pressed(GdkEventKey *event)
             switch (event->keyval)
             {
                 case GDK_Tab:
+                case GDK_ISO_Left_Tab:
                     // hack to avoid the default handling of TAB
                     clear_event_key (event);
                     switch_fs(fs(INACTIVE));



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