aboutsummaryrefslogtreecommitdiffstats
path: root/ui_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug #1140: Filtering messes up packet list sort orderStephen Fisher2007-01-111-0/+1
| | | | svn path=/trunk/; revision=20394
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* move some GTK only function declarations from ui_util.h to the appropriate ↵Ulf Lamping2005-12-051-22/+3
| | | | | | header files in the gtk dir, as these declarations are obsolete and only confuses (at least me) svn path=/trunk/; revision=16687
* Explain in more detail what this file is for.Guy Harris2005-08-201-1/+3
| | | | svn path=/trunk/; revision=15481
* Add some comments on the originating files of the declarationsJörg Mayer2005-08-201-3/+10
| | | | svn path=/trunk/; revision=15470
* Make the "col_data" field in a "column_info" structure a pointer to anGuy Harris2004-12-311-1/+1
| | | | | | | | array of "const char *" rather than to an array of "char *", and make the second argument of "col_set_str()" a "const char *" - there's no guarantee that "col_data" points to something you're allowed to modify. svn path=/trunk/; revision=12880
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-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
* moved GTK specific parts from capture.c to ui_util.c,Ulf Lamping2004-01-221-1/+14
| | | | | | | implemented Win32 "Capture Stop" when using "update list of packets in realtime" while capturing svn path=/trunk/; revision=9777
* close the Save (As) dialog, when the capture file is closedUlf Lamping2004-01-101-1/+8
| | | | svn path=/trunk/; revision=9642
* Don't automatically size the columns - that's expensive in largeGuy Harris2003-12-091-4/+1
| | | | | | | | | captures, as it has to compute the width of an auto-resizing column in every row. Just pick fixed widths for the columns (and tune the width of the "Protocol" column so that it's not narrower than the column title). svn path=/trunk/; revision=9219
* From Jeff Morriss: avoid at least some N^2 behavior when changing theGuy Harris2003-12-061-3/+3
| | | | | | time stamp format. svn path=/trunk/; revision=9179
* Change to color filters :Olivier Abad2002-09-231-2/+2
| | | | | | | | | | - moved color_filter_t in color.h - change color_filter_t to use color_t instead of GdkColor This changed allowed to remove the last gtk includes in file.c. It is now completely free of any gtk related code. svn path=/trunk/; revision=6324
* Removed all gtk calls in file.c :Olivier Abad2002-09-211-1/+28
| | | | | | | | | | | | - created a few packet_list_xxx functions (ui_util.h gtk/packet_list.c gtk2/packet_list.c) ; - removed almost all "gtk/xxx" and "gtk2/xxx" includes in file.c The only remaining includes are related to color filters. We have to make color_filter_t GUI independent by replacing GdkColor with color_t. I'll work on this later. svn path=/trunk/; revision=6311
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-4/+4
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
* "reactivate_window()" is used only by stuff in the "gtk" directory, andGuy Harris2001-03-241-8/+1
| | | | | | | | | has an API that depends on GTK+. "set_main_window_name()" is UI-toolkit-independent. Declare the former in a new "gtk/ui_util.h" file, rather than in "ui_util.h"; this helps separate UI-toolkit-independent stuff from UI-toolkit-dependent stuff. svn path=/trunk/; revision=3181
* The declaration of "destroy_packet_wins()" belongs inGuy Harris2001-03-241-4/+1
| | | | | | | "gtk/packet_win.h", along with the declarations of the other packet window manipulation routines; put it there. svn path=/trunk/; revision=3180
* Give the code that computes protocol statistics a progress dialog box,Guy Harris2001-03-241-33/+1
| | | | | | | | | | | | | | | as, on a large capture, it could take a significant amount of time. Let the user stop the computation and, if they do, don't pop up the statistics dialog box. Create a new header file declaring the routines to create, update, and destroy progress dialog boxes; those routines' APIs don't depend on GTK+, but others declared in "ui_util.h" do, and we don't want to oblige a source file to depend on GTK+ headers unless it uses a GTK+ API or an API that depends on GTK+. svn path=/trunk/; revision=3179
* Use "progdlg_t *" rather than "void *" as the handle for a progressGuy Harris2000-07-071-9/+16
| | | | | | | | | | | | | | | | | | | | | dialog box; that lets us do some type-checking, but we can still typedef it to an incompletely-defined structure to hide the implementation details from the caller. Make "create_progress_dlg()" take, as an argument, the title to put in the "stop the operation" button, and use "Stop" rather than "Cancel" if stopping the operation doesn't undo all the work it's done. Thaw the clist if we break out of a "read the file" operation, as we freeze it before the operation. Have the handler for the "delete" event on the progress dialog box return FALSE, to let GTK+ know that it should, in fact, delete the window. ("delete" event handlers should return TRUE if the window shouldn't actually be deleted, FALSE if it should; they should not return "void".) svn path=/trunk/; revision=2120
* Remove the progress bar from the status line, and, instead, for anyGuy Harris2000-07-031-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | potentially long-running operation that has a progress indicator, pop up a modal dialog box with an indication of what is being done; a progress bar; a "Cancel" button to stop the operation. This: leaves more room on the status line for a filter expression; provides a mechanism to allow the user to cancel long-running operations (although the way we do so may not back out of them as nicely as the user might like, if it's not obvious what the "right" way is or if the "right" way is difficult to implement or involves doing as much work as letting the operation continue); means that, because the dialog box is modal, we don't have to worry about the user performing arbitrary UI operations out from under the operation and changing arbitrary bits of state being used by that operation. svn path=/trunk/; revision=2103
* Jeff Foster's changes, with my additions, to allow the user to pop up aGuy Harris2000-02-291-1/+4
| | | | | | | window showing the protocol tree and hex/ASCII data for the currently selected packet. svn path=/trunk/; revision=1670
* Take the "simple_dialog()" stuff out of "ui_util.h" and "gtk/ui_util.c",Guy Harris2000-01-031-17/+1
| | | | | | and move it to "simple_dialog.h" and "gtk/simple_dialog.c". svn path=/trunk/; revision=1414
* Move the code to raise a window into a "reactivate_window()" routine,Guy Harris1999-12-201-1/+8
| | | | | | and have that routine also de-iconify the window. svn path=/trunk/; revision=1365
* Move the GTK+ implementations of various UI utilities out of "util.c"Guy Harris1999-12-091-0/+56
into "gtk/ui_util.c", and move the declarations of those UI utilities out of "util.h" into "ui_util.h". (The header file is in the top-level directory, rather than the "gtk" directory, because it declares window-system-independent interfaces to routines with window-system-dependent implementations.) Add to "gtk/ui_util.c" a routine to set the window and icon title. Use that routine to make the title of an Ethereal top-level window be {filename} - Ethereal if there's a capture open, and have "{filename}" be "<capture>" if it's a temporary capture file. svn path=/trunk/; revision=1255