aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/help_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2000-11-22Change Ethereal homepage URL from etheral.zing.org to www.ethereal.com.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=2696
2000-09-09Small changes in help windows:Laurent Deniel1-8/+15
- update overview. - add a note if packet capture is not available. svn path=/trunk/; revision=2406
2000-09-08Redraw:Guy Harris1-5/+49
the text in all "Follow TCP Stream" windows; the text in the help window if we have one up; all hex dump windows; when GUI preference changes are to be applied, so that font changes and "Follow TCP Stream" color changes show up. Update both the Roman and bold font when the font is changed. Don't decrement the reference counts on the old Roman and bold fonts until that's all done. svn path=/trunk/; revision=2401
2000-09-07Change variable from 'char*' to 'const char*' to avoid compiler warning.Gilbert Ramirez1-2/+2
svn path=/trunk/; revision=2391
2000-09-05Fix help display (random character displayed in tab).Laurent Deniel1-2/+2
svn path=/trunk/; revision=2388
2000-08-30Add FT_STRINGZ type. NCP dissector is only one that uses it right now.Gilbert Ramirez1-70/+3
Remove tvb_get_stringz from quake dissector and add tvb_get_nstringz, tvb_get_nstringz0, and tvb_strnlen to tvbuff.c. Remove multiple definitions of pntohl and friends from various places (except for wiretap) and put into pint.h Consolidate duplicate code for turning FT_* enums into strings (ala the glossary). svn path=/trunk/; revision=2382
2000-08-22Change FT_NSTRING_UINT8 to FT_UINT_STRING. The length parameter passedGilbert Ramirez1-3/+3
to proto_tree_add_item() will indicate if the length of the string is indicated by an UINT8, UINT16, UINT24, or UINT32. Change NCP dissector-maker to produce FT_UINT_STRING. Fix off-by-one in dissection of some NCP reply packets. svn path=/trunk/; revision=2334
2000-08-17Don't catch the "delete_event" signal for the "Help" window - we justGuy Harris1-7/+16
need to catch the "destroy" event, and have its handler clear the global help window pointer. That means that the "Close" button callback also need not clear that pointer, it merely needs to destroy the widget; given that we're now always passing it a pointer to the widget as the "data" argument, we just have it destroy that widget. svn path=/trunk/; revision=2285
2000-08-17It was silly of me to require that "forget_scrolled_window()" be calledGuy Harris1-55/+31
explicitly; the right thing to do was to have "remember_scrolled_window()" catch the "destroy" signal on the scrolled window widget, and have the handler for that signal forget the scrolled window. Doing that obviates the need to have creators of scrolled windows keep track of the windows they have and forget them when they're destroyed. The signal for a "the window manager has requested that this window go away" event is "delete_event", not "delete-event"; fix the "gtk_signal_connect()" calls that were using "delete-event". svn path=/trunk/; revision=2284
2000-08-16Fix a long standing bug in the scrolled window handling in follow TCP streamLaurent Deniel1-30/+54
which make ethereal aborts if the preferences were modified (or cancel) after the TCP window was closed. Fix the same bug in the other scrolled window handling (help & protocols). (forget_scrolled_window() was not called at the window closure). svn path=/trunk/; revision=2283
2000-08-11Miscellaneous code cleaningLaurent Deniel1-6/+4
- add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
2000-08-08Add a Help window that contains:Laurent Deniel1-0/+460
- short overview - list of known protocols - list of display filters - short capture filter help The display filter help can be extended in the future when we will have a GUI for filter construction. But this is better than nothing ;-) And cut & paste from the text help window and the filter input field works... svn path=/trunk/; revision=2227