From 670b59f423220301b53821b93445807d757d6304 Mon Sep 17 00:00:00 2001 From: sake Date: Tue, 9 Jun 2009 06:23:37 +0000 Subject: [PATCH] Reverted part of SVN 27411. The "home" and "end" key bindings overruled the use of these keys while editing a filter in the filter toolbar. The keys "ctrl-home" and "ctrl-end" already provide the functionality to go to the first or last packet in the packet-list. I added these as accelerator keys and updated the users guide accordingly. Of course we can also make "home" and "end" work, without breaking functionality in the filter toolbar, but that takes a little more work (at least for me... maybe not after going to Steve's session at Sharkfest :-)). (will add this to inclusion list for 1.0.9 and 1.2.0) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28670 f5534014-38df-0310-8fa8-9805f1628bb7 --- docbook/wsug_src/WSUG_chapter_use.xml | 4 ++-- gtk/main_menu.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docbook/wsug_src/WSUG_chapter_use.xml b/docbook/wsug_src/WSUG_chapter_use.xml index db458fa40c..c28447beac 100644 --- a/docbook/wsug_src/WSUG_chapter_use.xml +++ b/docbook/wsug_src/WSUG_chapter_use.xml @@ -1258,14 +1258,14 @@ First Packet - + Ctrl+Home Jump to the first packet of the capture file. Last Packet - + Ctrl+End Jump to the last packet of the capture file. diff --git a/gtk/main_menu.c b/gtk/main_menu.c index 1e0e0eda33..c115706970 100644 --- a/gtk/main_menu.c +++ b/gtk/main_menu.c @@ -627,9 +627,9 @@ static GtkItemFactoryEntry menu_items[] = GTK_MENU_FUNC(packet_list_prev), 0, "", GTK_STOCK_GO_UP,}, {"/Go/Next Packet", "Down", GTK_MENU_FUNC(packet_list_next), 0, "", GTK_STOCK_GO_DOWN,}, - {"/Go/F_irst Packet", "Home", + {"/Go/F_irst Packet", "Home", GTK_MENU_FUNC(goto_top_frame_cb), 0, "", GTK_STOCK_GOTO_TOP,}, - {"/Go/_Last Packet", "End", + {"/Go/_Last Packet", "End", GTK_MENU_FUNC(goto_bottom_frame_cb), 0, "", GTK_STOCK_GOTO_BOTTOM,}, #ifdef HAVE_LIBPCAP {"/_Capture", NULL, NULL, 0, "", NULL,}, -- 2.34.1