aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tap_dfilter_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon1-2/+2
the callback for multiple registrations. svn path=/trunk/; revision=17252
2005-12-31fix #152Ulf Lamping1-0/+1
set the read filter dialog modal and transient to the parent window if requested. This way, it will receive input signals (solving problems with GTK2's gtk_file_chooser). To do this, add another construct_args flag, so it will be modal only if really needed ... svn path=/trunk/; revision=16926
2005-08-21As per a suggestion by Ulf Lamping, rename gtk_*.[ch] to gui_*.[ch], soGuy Harris1-1/+1
that it doesn't appear to be part of GTK+. svn path=/trunk/; revision=15501
2005-08-21"gtk_tap_dfilter_dlg_cb()" is no longer used outsideGuy Harris1-4/+6
gtk/tap_dfilter_dlg.c; don't export it. That means that gtk/tap_dfilter_dlg.h is no longer useful; get rid of it. Rename "gtk_tap_dfilter_dlg_cb()" to "tap_dfilter_dlg_cb()", as it's inside GTK+-specific code, so there's no need to distinguish it from non-GTK+ callbacks. Update some comments to reflect the name change and the new API for registering tap_dfilter_dlg stats. Make the AFP and SMB stats use the gtk/tap_dfilter_dlg.c stuff. svn path=/trunk/; revision=15496
2005-08-21Have "register_dfilter_stat()" add "..." to the menu item, as all menuGuy Harris1-1/+9
items registered with it pop up a dialog box before displaying the stat. Don't pass a name with "..." to it. Put "..." into other menu items that pop up a dialog box before displaying the stat; remove "..." from other menu items that don't. svn path=/trunk/; revision=15495
2005-08-21Add a "register_dfilter_stat()", to register stats that take a displayGuy Harris1-0/+17
filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. svn path=/trunk/; revision=15493
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2004-12-31"gtk_entry_get_text()" returns a "const char *" - assign the result toGuy Harris1-3/+3
one. "get_basename()" doesn't modify its argument, and its callers don't modify the substring pointed to by the result, so make it take a "const char *" as an argument and return a "const char *". "find_last_pathname_separator()" doesn't modify its argument, so make it a "const char *" - but some of its callers pass a non-"const" "char *" and modify the result, so don't make its return value a "const char *". And, as none of its callers are outside "filesystem.c", make it static. In "about_folders_page_new()", have separate variables for pathnames returned as "const char *" (which are cached by the routine that returns them, so you can't modify them - and can't free them, so get rid of the commented-out "g_free()" calls for them) and pathnames returned as "char *" (which are allocated anew for each call, and can be modified, but have to be freed). Clean up white space. svn path=/trunk/; revision=12881
2004-07-19renamed filter_prefs to filter_dlg, as the filter settings are (well, for a ↵Ulf Lamping1-1/+1
long time) no longer part of the preferences dialog. svn path=/trunk/; revision=11436
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-02move "extern GtkWidget *main_display_filter_widget" fromUlf Lamping1-2/+2
various stats files to gtkglobals.h svn path=/trunk/; revision=11073
2004-05-27use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,Ulf Lamping1-2/+2
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog, and gtk_window_set_default_size() will not svn path=/trunk/; revision=11021
2004-05-23use new functions in window API (ui_util.h),Ulf Lamping1-16/+10
use window_new instead of dlg_window_new for the statistics windows (as these are no dialog windows) do some code cleanup svn path=/trunk/; revision=10979
2004-03-13various string related changes, mainly replace sprintf/snprintf by g_snprintfUlf Lamping1-3/+3
svn path=/trunk/; revision=10371
2004-02-27added dfilter string syntax check to various placesUlf Lamping1-1/+2
svn path=/trunk/; revision=10252
2004-01-21implemented dlg_button_row_new to get a standard function forUlf Lamping1-16/+7
layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771
2004-01-21use stock buttons whereever possible,Ulf Lamping1-3/+3
added some ethereal specific stock icons svn path=/trunk/; revision=9763
2004-01-10using button compatibility macrosUlf Lamping1-6/+2
svn path=/trunk/; revision=9636
2003-12-19From Lars Roland:Guy Harris1-11/+37
use the common display filter dialog infrastructure in the MGCP service response time tap; add common infrastructure for updating the titles of tap dialogs when the capture file name changes. svn path=/trunk/; revision=9366
2003-12-17From Lars Roland: have common code to handle display filter dialogs inGuy Harris1-0/+217
taps, and use that in the H.225 taps. svn path=/trunk/; revision=9327