gnome-commander r1671 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1671 - in trunk: . src
- Date: Mon, 31 Mar 2008 17:22:16 +0100 (BST)
Author: epiotr
Date: Mon Mar 31 17:22:16 2008
New Revision: 1671
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1671&view=rev
Log:
Allow Fx functions when in quicksearch mode editing
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-quicksearch-popup.cc
Modified: trunk/src/gnome-cmd-quicksearch-popup.cc
==============================================================================
--- trunk/src/gnome-cmd-quicksearch-popup.cc (original)
+++ trunk/src/gnome-cmd-quicksearch-popup.cc Mon Mar 31 17:22:16 2008
@@ -23,6 +23,7 @@
#include "gnome-cmd-file-list.h"
#include "gnome-cmd-file.h"
#include "gnome-cmd-data.h"
+#include "gnome-cmd-main-win.h"
using namespace std;
@@ -144,10 +145,23 @@
{
case GDK_Escape:
case GDK_Return:
- gnome_cmd_file_list_select_row (
- popup->priv->fl, GNOME_CMD_CLIST (popup->priv->fl)->drag_motion_row);
+ gnome_cmd_file_list_select_row (popup->priv->fl, GNOME_CMD_CLIST (popup->priv->fl)->drag_motion_row);
hide_popup (popup);
return TRUE;
+
+ // for more convenience jump direct to Fx function on the current quicksearch item
+ case GDK_F3:
+ case GDK_F4:
+ case GDK_F5:
+ case GDK_F6:
+ case GDK_F8:
+ gnome_cmd_file_list_select_row (popup->priv->fl, GNOME_CMD_CLIST (popup->priv->fl)->drag_motion_row);
+ hide_popup (popup);
+ gnome_cmd_main_win_keypressed (main_win, event);
+ return TRUE;
+
+ default:
+ break;
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]