[gnome-commander/gcmd-1-2-8] Fixed problem #581645 (uncomfortable quick search)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fixed problem #581645 (uncomfortable quick search)
- Date: Sat, 10 Oct 2009 21:53:49 +0000 (UTC)
commit 9464fb499ca2eabd1439183baf9d5c4558e16c96
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 2a5328d..b7f3014 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,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 981de0a..55a84cb 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6025,6 +6025,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 bedf7c0..2ea0fcd 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]