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)


svn path=/trunk/; revision=28670
This commit is contained in:
Sake Blok 2009-06-09 06:23:37 +00:00
parent ce27db3c58
commit 140d21fe45
2 changed files with 4 additions and 4 deletions

View File

@ -1258,14 +1258,14 @@
</row>
<row>
<entry><command>First Packet</command></entry>
<entry></entry>
<entry>Ctrl+Home</entry>
<entry><para>
Jump to the first packet of the capture file.
</para></entry>
</row>
<row>
<entry><command>Last Packet</command></entry>
<entry></entry>
<entry>Ctrl+End</entry>
<entry><para>
Jump to the last packet of the capture file.
</para></entry>

View File

@ -627,9 +627,9 @@ static GtkItemFactoryEntry menu_items[] =
GTK_MENU_FUNC(packet_list_prev), 0, "<StockItem>", GTK_STOCK_GO_UP,},
{"/Go/Next Packet", "<control>Down",
GTK_MENU_FUNC(packet_list_next), 0, "<StockItem>", GTK_STOCK_GO_DOWN,},
{"/Go/F_irst Packet", "Home",
{"/Go/F_irst Packet", "<control>Home",
GTK_MENU_FUNC(goto_top_frame_cb), 0, "<StockItem>", GTK_STOCK_GOTO_TOP,},
{"/Go/_Last Packet", "End",
{"/Go/_Last Packet", "<control>End",
GTK_MENU_FUNC(goto_bottom_frame_cb), 0, "<StockItem>", GTK_STOCK_GOTO_BOTTOM,},
#ifdef HAVE_LIBPCAP
{"/_Capture", NULL, NULL, 0, "<Branch>", NULL,},