aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_prefs.c
AgeCommit message (Collapse)AuthorFilesLines
2003-09-08From Nathan Jennings:Guy Harris1-10/+874
support for user-supplied interface descriptions; support for hiding interfaces in drop-down list in capture dialog. Clean up comments written to preferences file. svn path=/trunk/; revision=8419
2002-11-11Use gtk1/gtk2 compatibility macros.Olivier Abad1-14/+10
svn path=/trunk/; revision=6616
2002-09-05Include cleanups in gtk and gtk2:Jörg Mayer1-3/+1
Remove unneded includes Add include wrappers where missing svn path=/trunk/; revision=6191
2002-08-31Remove redundant HAVE_LIBPCAP check (copied from gtk2)Jörg Mayer1-4/+1
svn path=/trunk/; revision=6158
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-6/+6
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2002-07-17Get rid of some "unused variable" and "unused static function" warnings,Guy Harris1-24/+3
and some compile errors in Tethereal, when compiling without libpcap. If libpcap is missing (whether that's detected at compile time or, as on Windows, at run time), don't call any of the "capture_prefs" routines - the routine to create the capture preferences page wasn't called, so the other routines can try to refer to non-existent widgets and other items and crash. Get rid of the stub routines in "capture_prefs()" used when compiling without libpcap, as they're no longer called. svn path=/trunk/; revision=5888
2002-06-28Trim leading and trailing white space from the capture device in theGuy Harris1-3/+12
preference setting, and, if it's empty, treat that as an indication that the user doesn't want to wire in a default device, and just wants the first device in the list chosen. svn path=/trunk/; revision=5773
2002-05-24Get rid of an unused variable.Guy Harris1-2/+1
svn path=/trunk/; revision=5540
2002-05-23Save the whole capture device name in the preferences file. UnderGerald Combs1-7/+4
Windows, this saves the description + device name. svn path=/trunk/; revision=5534
2002-03-05From Joerg Mayer: use _U_ to flag unused arguments.Guy Harris1-3/+3
svn path=/trunk/; revision=4878
2002-01-20Make the blurbs for protocol preference items into tooltips. (This alsoGuy Harris1-4/+7
lets us add tooltips to other preference items whose widgets are created with the "create_preference_XXX()" routines - just pass in a tooltip text string rather than a null pointer.) svn path=/trunk/; revision=4577
2002-01-13Add a preferences page for the name resolution flags.Guy Harris1-30/+11
Separate the preferences value for those flags and the name resolution code's value into separate variables; this means that the resolution code no longer depends on the preferences code, and may let us eventually have the current setting and the preference setting differ (so that a user can temporarily override the preference setting without causing subsequent saves of the preferences to save the temporary value). Add routines to create various types of widgets for preferences, and to fetch the values for "enumerated" preferences, and use them both in the code to handle hardwired preference pages and table-driven preference pages. svn path=/trunk/; revision=4536
2002-01-12Get rid of unused variables.Guy Harris1-10/+12
Put the labels of check boxes to the left of the checkboxes, right-aligned, and give all of them a colon at the end, to match the style of module preferences. svn path=/trunk/; revision=4534
2002-01-12While you're at it, use the key for the auto scroll option checkbox forGuy Harris1-2/+2
the pointer to the auto scroll options checkbox.... svn path=/trunk/; revision=4532
2002-01-12Make the key for the capture preference window's pointer to the autoGuy Harris1-2/+2
scroll option checkbox distinct from the key for the pointer to the real-time capture option checkbox, so thee auto scroll option checkbox can be fetched. svn path=/trunk/; revision=4531
2002-01-11Have a routine to create a scrolled window, set its vertical scrollbarGuy Harris1-2/+1
preference, and add it to the list of scrolled windows; call that routine to create scrolled windows, rather than creating it and calling other routines to do the other two operations. As "set_scrollbar_placement_all()" and "set_ctree_styles_all()" always set the styles to match the user's preference, don't have them take an argument, have them just use the user's preference settings. Get rid of unnecessary includes of "prefs_dlg.h", replacing them with includes of "prefs.h" if necessary. Don't have "prefs_dlg.h" include "prefs.h" - its sole purpose is to declare routines defined in "prefs_dlg.c" - and add any additional includes of "prefs.h" this requires. Get rid of unnecessary includes of "prefs.h" and "gtkglobals.h". Fix up white space. svn path=/trunk/; revision=4521
2002-01-10Fix some problems with building Ethereal/Tethereal without libpcap.Guy Harris1-7/+26
Get rid of a #include I'd #if 0'ed out. svn path=/trunk/; revision=4513
2002-01-10Add a preferences page for capture preferences, so that the user canGuy Harris1-0/+182
directly edit the capture preferences, rather than only being able to set them implicitly from the values for the most recent capture. Add a preferences item for the interface on which to capture. Get rid of some unused variables. svn path=/trunk/; revision=4510