Reverted part of SVN 27411. The "home" and "end" key bindings overruled
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 9 Jun 2009 06:23:37 +0000 (06:23 +0000)
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 9 Jun 2009 06:23:37 +0000 (06:23 +0000)
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
gtk/main_menu.c

index db458fa40ccd2947583a8618502a44de059157a9..c28447beac1b6834cd161d65ae5b549273a22db1 100644 (file)
              </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>
index 1e0e0eda33bb6a7c883db0d7f359b2945e8dc0b6..c115706970c6a10539322e132ea3090029815052 100644 (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,},