aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/summary_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2001-02-11In Ethereal, attempt to get the packet statistics from libpcap whenGuy Harris1-3/+5
capturing; if we succeed, display the packet drops count as the "Drops" value in the status line and as the "Dropped packets" statistics in the summary dialog box, otherwise don't display it at all. In Tethereal, attempt to get the packet statistics from libpcap when capturing; if we succeed, and if there were any dropped packets, print out the count of dropped packets when the capture finishes. svn path=/trunk/; revision=3016
2000-08-21Add the number of marked packets in the summary window.Laurent Deniel1-1/+5
svn path=/trunk/; revision=2323
2000-08-19Add Mbit/sec to the summary window.Laurent Deniel1-1/+5
svn path=/trunk/; revision=2300
2000-08-11Miscellaneous code cleaningLaurent Deniel1-6/+1
- 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-07-05Put the close button in an HButtonBox, so that it doesn't expand to theGuy Harris1-3/+11
width of the window. svn path=/trunk/; revision=2115
2000-05-03Make the summary dialog box use the new utilities to make the ReturnGuy Harris1-2/+10
and Esc keys close the dialog box; to make the Return key work, we have to make the "Close" button the default widget. svn path=/trunk/; revision=1906
2000-04-13As we always have to have a filter string (thanks to a bug in the LinuxGuy Harris1-2/+2
libpcap), if we have a null filter string we report it as "no filter", just as we would do for a null filter string pointer. svn path=/trunk/; revision=1844
2000-04-01No work need be done when a summary dialog box is destroyed, or when theGuy Harris1-13/+1
window manager tries to delete it, so no callback is needed for the "destroy" or "delete_event" signals (grabs are, at least in GTK+ 1.2.7, removed when a widget is destroyed, and there's no need for the destroy callback to destroy the widget itself; the delete event handler *could*, for example, pop up a dialog box saying "Do you really want to close this?", and allow the user to back out of the operation, but there's no unsaved work that would be lost by closing the window, so there's no point in having a delete event handler that does that). svn path=/trunk/; revision=1771
1999-12-10Move GTK code out of summary.c and into gtk/summary_dlg.cGilbert Ramirez1-0/+216
summary.c now provides a struct of info (see summary.h) Changed the name of the summary dialogue callback (hence the change in menu.c), and added a close button to the dialogue. Moved #include <gtk/gtk.h> out of print.c and into prefs.h where it was needed for GdkColor. svn path=/trunk/; revision=1273