aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/menu.h
AgeCommit message (Collapse)AuthorFilesLines
2003-04-23Have "register_tap_menu_item()" create submenus as necessary for a menuguy1-3/+2
item. Convert all Ethereal (GUI) taps to use "register_tap_menu_item()" rather than having hardcoded menu items in "gtk/menu.c". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7541 f5534014-38df-0310-8fa8-9805f1628bb7
2003-04-23Add a routine to create a new menu item under "/Tools/Statistics" forguy1-1/+10
taps. (It has to be called after we've created the main menu, but GUI taps are registered before that so that they can be referred to by command-line arguments, so that routine will only be usable if we have a "register menu item" routine for all GUI taps.) Disable the entire "/Tools/Statistics/MGCP" menu item, not just the "RTD" item under it, if we don't have an "mgcp" tap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7539 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-28Removed trailing whitespaces from .h and .c files using thejmayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6117 f5534014-38df-0310-8fa8-9805f1628bb7
2000-08-21Make work better the (hexdump) popup menus.deniel1-2/+2
- have popup_menu_handler return TRUE or FALSE according to the fact that the event is really processed or not. - use gtk_signal_connect instead of gtk_signal_connect_object to have the widget that emitted the signal _and_ the popup menu widget. - call gtk_signal_emit_stop_by_name to abort the propagation if the signal was processed. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2318 f5534014-38df-0310-8fa8-9805f1628bb7
2000-04-06Define "popup_menu_object" only in "gtk/menu.c", and just declare it asguy1-2/+2
an "extern" in "gtk/menu.h", to avoid complaints from the linker on some platforms. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1810 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-18Jerry Talkington's changes to support, in the packet list and protocolguy1-1/+4
tree panes, menus popped up by the right mouse button. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1504 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-03Make "menus_init()", set_menu_sensitivity()", and "grp" static toguy1-8/+1
"gtk/menu.c", as they're not used outside it. Move the definition of "GTK_MENU_FUNC()" from "gtk/menu.h" to "gtk/menu.c", as it's not used outside of "gtk/menu.c". Get rid of the declaration of "menus_create()" in "gtk/menu.h", as that routine doesn't exist. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1411 f5534014-38df-0310-8fa8-9805f1628bb7
2000-01-03Have "gtk/menu.c" (and, in the future, code for other UIs) export a setguy1-4/+4
of routines to enable and disable various sets of menu items; call only those routines, not routines to enable or disable particular menu items, from files in the top-level directory, as other UIs may not refer to menu items with path strings of the sort used in GTK+, and as this buries knowledge of the menu items available in "gtk/menu.c" rather than requiring stuff outside of "gtk/menu.c" to know what menu items exist. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1410 f5534014-38df-0310-8fa8-9805f1628bb7
1999-09-01Moved GTK-dependent routines for file dialogues, print dialogues, printgram1-0/+47
preferences, and menus to gtk subdirectory. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@623 f5534014-38df-0310-8fa8-9805f1628bb7