aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/menus.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-17 01:18:14 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-17 01:18:14 +0000
commit5afc48721d5e2785636a8a5f3e40ef91e359a702 (patch)
tree8239ff427bfe4e5c475b4f8429f0fef9186cf773 /gtk/menus.c
parent3e117e9481a23779387a17b7eb141a7bf6cd777b (diff)
Introduce "Ignore Packet" in the packet list.
This will remove the package from the dissection functions without removing it from the capture file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31287 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/menus.c')
-rw-r--r--gtk/menus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/menus.c b/gtk/menus.c
index bd449d5a88..ac839560ff 100644
--- a/gtk/menus.c
+++ b/gtk/menus.c
@@ -811,8 +811,10 @@ static GtkItemFactoryEntry packet_list_menu_items[] =
{
#ifdef NEW_PACKET_LIST
{"/Mark Packet (toggle)", NULL, GTK_MENU_FUNC(new_packet_list_mark_frame_cb), 0, NULL, NULL,},
+ {"/Ignore Packet (toggle)", NULL, GTK_MENU_FUNC(new_packet_list_ignore_frame_cb), 0, NULL, NULL,},
#else
{"/Mark Packet (toggle)", NULL, GTK_MENU_FUNC(packet_list_mark_frame_cb), 0, NULL, NULL,},
+ {"/Ignore Packet (toggle)", NULL, GTK_MENU_FUNC(packet_list_ignore_frame_cb), 0, NULL, NULL,},
#endif /* NEW_PACKET_LIST */
{"/Set Time Reference (toggle)", NULL, GTK_MENU_FUNC(reftime_frame_cb), REFTIME_TOGGLE, "<StockItem>", WIRESHARK_STOCK_TIME,},