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



commit 58e2ebc333dc601cf375fd16ee339700c551f0de
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Nov 12 21:33:28 2009 +0100

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

 NEWS                      |    1 +
 doc/C/gnome-commander.xml |    3 +++
 src/gnome-cmd-main-win.cc |    6 ++++--
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 3e29652..517cf43 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ gnome-commander 1.2.8.4
 Bug fixes:
  * Fixed Ubuntu problem #369818 (incorrect sorting by size in panel)
  * Fixed problem with not working keypad enter in copy/move dialog
+ * Fixed problem with stalled keyboard after ALT+1/2 with hidden device list
 
 
 ===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 1e112f0..b0ba25c 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6017,6 +6017,9 @@
                         <listitem>
                             <para>Fixed problem with not working keypad enter in copy/move dialog</para>
                         </listitem>
+                        <listitem>
+                            <para>Fixed problem with stalled keyboard after ALT+1/2 with hidden device list</para>
+                        </listitem>
                     </itemizedlist>
                 </para>
             </entry>
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 58b47f9..a9516b6 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -968,7 +968,8 @@ gboolean gnome_cmd_main_win_keypressed (GnomeCmdMainWin *mw, GdkEventKey *event)
                 {
                     GnomeCmdFileSelector *fs = gnome_cmd_main_win_get_fs (mw, LEFT);
                     gnome_cmd_main_win_switch_fs (mw, fs);
-                    gnome_cmd_combo_popup_list (GNOME_CMD_COMBO (fs->con_combo));
+                    if (gnome_cmd_data.concombo_visibility)
+                        gnome_cmd_combo_popup_list (GNOME_CMD_COMBO (fs->con_combo));
                 }
                 return TRUE;
 
@@ -976,7 +977,8 @@ gboolean gnome_cmd_main_win_keypressed (GnomeCmdMainWin *mw, GdkEventKey *event)
                 {
                     GnomeCmdFileSelector *fs = gnome_cmd_main_win_get_fs (mw, RIGHT);
                     gnome_cmd_main_win_switch_fs (mw, fs);
-                    gnome_cmd_combo_popup_list (GNOME_CMD_COMBO (fs->con_combo));
+                    if (gnome_cmd_data.concombo_visibility)
+                        gnome_cmd_combo_popup_list (GNOME_CMD_COMBO (fs->con_combo));
                 }
                 return TRUE;
 



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