[gnome-commander] Fixed problem #581645 (uncomfortable quick search)



commit 236dd38e9884f97000f67bf7c52f17be23e27c10
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Oct 9 23:26:49 2009 +0200

    Fixed problem #581645 (uncomfortable quick search)

 NEWS                               |    1 +
 doc/C/gnome-commander.xml          |    3 +++
 src/gnome-cmd-quicksearch-popup.cc |    5 ++++-
 3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 0b5069d..aa6373a 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ gnome-commander 1.2.8.3
 ---------------
 
 Bug fixes:
+ * Fixed problem #581645 (uncomfortable quick search)
  * Fixed problem #596768 (build warnings for python)
  * Fixed problem #596973 (documentation build error)
  * Fixed problem #597144 (missing call to pclose)
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 11ce8ec..87c9779 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6018,6 +6018,9 @@
                 <para>
                     <itemizedlist>
                         <listitem>
+                            <para>Fixed problem #581645 (uncomfortable quick search)</para>
+                        </listitem>
+                        <listitem>
                             <para>Fixed problem #596768 (build warnings for python)</para>
                         </listitem>
                         <listitem>
diff --git a/src/gnome-cmd-quicksearch-popup.cc b/src/gnome-cmd-quicksearch-popup.cc
index cd8efc8..eac23ba 100644
--- a/src/gnome-cmd-quicksearch-popup.cc
+++ b/src/gnome-cmd-quicksearch-popup.cc
@@ -138,11 +138,14 @@ static gboolean on_key_pressed (GtkWidget *entry, GdkEventKey *event, GnomeCmdQu
     switch (event->keyval)
     {
         case GDK_Escape:
-        case GDK_Return:
             popup->priv->fl->select_row(GNOME_CMD_CLIST (popup->priv->fl)->drag_motion_row);
             hide_popup (popup);
             return TRUE;
 
+        // for more convenience do ENTER action directly on the current quicksearch item
+        case GDK_Return:
+        case GDK_KP_Enter:
+
         // for more convenience jump direct to Fx function on the current quicksearch item
         case GDK_F3:
         case GDK_F4:



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