aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/menu.h
AgeCommit message (Collapse)AuthorFilesLines
2005-08-20- Declare some functions staticJörg Mayer1-0/+2
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-05More char -> const char warning fixes.Jörg Mayer1-1/+1
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-07-19fix various doxygen warningsUlf Lamping1-2/+3
svn path=/trunk/; revision=14958
2005-04-29add a new feature: list the files of a "File Set" (set of files generated by ↵Ulf Lamping1-0/+7
capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one svn path=/trunk/; revision=14231
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-0/+8
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2004-11-01first implementation of the packet history functionUlf Lamping1-0/+7
svn path=/trunk/; revision=12460
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-04add more details for doxygenUlf Lamping1-2/+3
svn path=/trunk/; revision=11107
2004-06-01add details for doxygen, various code cleanups as a result of thisUlf Lamping1-7/+42
svn path=/trunk/; revision=11062
2004-05-20update menu check items, if name resolution prefs changedUlf Lamping1-1/+2
svn path=/trunk/; revision=10922
2004-02-11Move the declaration of "register_tap_menu_item()" into a newGuy Harris1-29/+1
"tap_menu.h" file, and have the Ethereal taps include that rather than "menu.h", so we don't have to worry about making sure we've included <stdio.h> to define FILE, etc. just because some "menu.h" functions require it. svn path=/trunk/; revision=10031
2004-02-01moved window geometry values from prefs to recent,Ulf Lamping1-1/+2
added new pref / recent setting: "maximized main window", which will save, if the main window is maximized or not, this will take effect on GTK version 2 only, but is saved nonetheless svn path=/trunk/; revision=9949
2004-01-29every GUI action, which will erease a currently unsaved capture file,Ulf Lamping1-1/+2
will now raise a dialog "Save xy before z?" with Yes/No/Cancel buttons. svn path=/trunk/; revision=9908
2004-01-19added some menuitems "View->Show" including show/hide of all main widgets,Ulf Lamping1-2/+2
saving the states in the recent file svn path=/trunk/; revision=9726
2003-12-17From Lars Roland: have common code to handle display filter dialogs inGuy Harris1-2/+3
taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327
2003-12-13added "most recently used" lists forUlf Lamping1-1/+4
"opened capture files" and "display filter used", the settings will be saved in the file "recent" in the users config path svn path=/trunk/; revision=9275
2003-09-24Pass a pointer to a "capture_file" structure toGuy Harris1-11/+12
"set_menus_for_selected_packet()" and "set_menus_for_selected_tree_row()", and have them decide whether to enable or disable menu items based on whether that structure indicates that a packet or field is selected and, if one is, on its properties. Pass to the "selected packet enabled" routine for a menu item the "frame_data" and "edt" members of the "capture_file" structure, and pass to the "selected tree row enabled" routine the "field_info" member of that structure. Clear "cf->current_frame" if no packet is selected. svn path=/trunk/; revision=8525
2003-09-19Provide a mechanism by which a tap can arrange to have its menu enabledGuy Harris1-5/+22
or disabled based on a currently-selected packet (or lack of same) or a currently-selected protocol tree item (or lack of same). Not currently used, but necessary if we ever make the TCP graph stuff a tap. API is tentative and subject to change. Also, enable and disable taps based on whether we have any packets to process. svn path=/trunk/; revision=8498
2003-04-23Have "register_tap_menu_item()" create submenus as necessary for a menuGuy Harris1-3/+2
item. Convert all Ethereal (GUI) taps to use "register_tap_menu_item()" rather than having hardcoded menu items in "gtk/menu.c". svn path=/trunk/; revision=7541
2003-04-23Add a routine to create a new menu item under "/Tools/Statistics" forGuy Harris1-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. svn path=/trunk/; revision=7539
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2000-08-21Make work better the (hexdump) popup menus.Laurent 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. svn path=/trunk/; revision=2318
2000-04-06Define "popup_menu_object" only in "gtk/menu.c", and just declare it asGuy Harris1-2/+2
an "extern" in "gtk/menu.h", to avoid complaints from the linker on some platforms. svn path=/trunk/; revision=1810
2000-01-18Jerry Talkington's changes to support, in the packet list and protocolGuy Harris1-1/+4
tree panes, menus popped up by the right mouse button. svn path=/trunk/; revision=1504
2000-01-03Make "menus_init()", set_menu_sensitivity()", and "grp" static toGuy Harris1-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. svn path=/trunk/; revision=1411
2000-01-03Have "gtk/menu.c" (and, in the future, code for other UIs) export a setGuy Harris1-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. svn path=/trunk/; revision=1410
1999-09-01Moved GTK-dependent routines for file dialogues, print dialogues, printGilbert Ramirez1-0/+47
preferences, and menus to gtk subdirectory. svn path=/trunk/; revision=623