Fix for bug 2964.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 14 Oct 2008 20:04:06 +0000 (20:04 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 14 Oct 2008 20:04:06 +0000 (20:04 +0000)
When right click on any packet (From Packet List) - > "Export Selected Packet Bytes" you
get "No data selected to save!" MessageBox. This option should not be in this menu at all.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26458 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main_menu.c

index 41e9a2f0f8fda6504f777d242fb3f89698fa9668..6b1faca81375bc228ad456e7d2eeba95b656c639 100644 (file)
@@ -929,9 +929,6 @@ static GtkItemFactoryEntry packet_list_menu_items[] =
     {"/Copy/Bytes (Hex Stream)", NULL, GTK_MENU_FUNC(copy_hex_cb), CD_HEX, NULL, NULL,},
     {"/Copy/Bytes (Binary Stream)", NULL, GTK_MENU_FUNC(copy_hex_cb), CD_BINARY, NULL, NULL,},
 
-    {"/Export Selected Packet Bytes...", NULL, GTK_MENU_FUNC(savehex_cb),
-                       0, NULL, NULL,},
-
     {"/<separator>", NULL, NULL, 0, "<Separator>", NULL,},
 
     {"/Decode As...", NULL, GTK_MENU_FUNC(decode_as_cb), 0, "<StockItem>", WIRESHARK_STOCK_DECODE_AS,},