[gnome-commander/gcmd-1-3] Fixed problem with stalled keyboard after ALT+1/2 with hidden device list



commit c60efa1c9bb92b69cab8f1cf2e0de54ae9129573
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Nov 12 21:34:46 2009 +0100

    Fixed problem with stalled keyboard after ALT+1/2 with hidden device list

 src/gnome-cmd-main-win.cc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 5c934cf..5af5e19 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -1142,7 +1142,8 @@ gboolean GnomeCmdMainWin::key_pressed(GdkEventKey *event)
                 {
                     GnomeCmdFileSelector *fs = this->fs(LEFT);
                     switch_fs(fs);
-                    fs->con_combo->popup_list();
+                    if (gnome_cmd_data.concombo_visibility)
+                        fs->con_combo->popup_list();
                 }
                 return TRUE;
 
@@ -1150,7 +1151,8 @@ gboolean GnomeCmdMainWin::key_pressed(GdkEventKey *event)
                 {
                     GnomeCmdFileSelector *fs = this->fs(RIGHT);
                     switch_fs(fs);
-                    fs->con_combo->popup_list();
+                    if (gnome_cmd_data.concombo_visibility)
+                        fs->con_combo->popup_list();
                 }
                 return TRUE;
 



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