aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
AgeCommit message (Collapse)AuthorFilesLines
1999-07-09Added the ability to create a read-only ethereal, i.e., one thatGilbert Ramirez1-2/+1
doesn't link with libpcap, so no packet captures can be made. The "--disable-pcap" option has been added to the configure script. Docs have been updated. And the string buffer size in the simple_dialog() has been doubled so that Johan's e-mail address in the "About" dialogue window doesn't get chopped off. svn path=/trunk/; revision=351
1999-06-24 If the "Cancel" button is clicked in the "Display Options"Guy Harris1-1/+29
window, revert the timestamp type display option to the value it had before that window was popped up, undoing any changes applied with the "Apply" button. If "Display/Options" is selected while there's a "Display Options" window active, don't pop up another "Display Options" window (we really should, if that's done, switch the input focus to the existing "Display Options" window, if possible). svn path=/trunk/; revision=329
1999-06-22Added an "apply" button to the display option gui, so we can try newGilbert Ramirez1-3/+33
timestamp display w/o having the display option GUI disappear. svn path=/trunk/; revision=327
1999-06-22Update the display if the "command-line-specified" time format isGuy Harris1-2/+2
changed by updating those columns showing the time in the "command-line-specified" format, not by redoing the entire packet list display; that way, the display continues to show the same packets and any packet the user selected remains selected. (It's also less work to do that - you don't have to re-dissect the packet.) Turn "redisplay_packets()" into "filter_packets()", and do some other cleanups. svn path=/trunk/; revision=325
1999-06-21Found some erroneous usages of gtk_signal_connect_object. I always wonderedGilbert Ramirez1-18/+11
why I had to swap fields (data = w) in some of the callback functions when I added support for gtk+-1.1. Because of the use of gtk_signal_connect_object, the wrong value was being sent to the callback function. We were just lucky that with gtk+-1.0 it worked. gtk_signal_connect_object is for use with callbacks that take one argument. gtk_signal_connect is for use with callbacks that take two arguments. svn path=/trunk/; revision=324
1999-06-19Use "gtk_toggle_button_set_state()" rather thanGuy Harris1-20/+4
"gtk_toggle_button_set_active()" to set the state of radio buttions; "gtk_toggle_button_set_active()" doesn't exist in GTK+ 1.0[.x], and "gtk_toggle_button_set_state()" is an alias for it in GTK+ 1.2[.x]. Compute the column widths in the summary display based on the longest string in the column; recompute it whenever we update the columns. svn path=/trunk/; revision=319
1999-06-19Update the column widths if we change the time stamp format from theGuy Harris1-12/+31
"Display/Options" dialog box. "get_column_width()" should check "timestamp_type" against ABSOLUTE, not against COL_ABS_TIME. Clean up the code to check the state of the time stamp radio buttons in the "Display/Options" dialog box. Check in "timestamp.h", which we failed to check in on the previous commit. svn path=/trunk/; revision=318
1999-06-19Added "Capture" and "Display" menus; "Capture" has a "Start" item, whichGuy Harris1-0/+177
is the same as "Tools/Capture", and "Display" has an "Options" item, which pops up a dialog box to let you change the "default" time-stamp column display format on the fly (the "default" is what the "-t" command-line option sets), and have the display change when you do that. Made infrastructure changes to make the immediate display update work. Removed some unused functions, declared some functions used only in the file in which they're defined "static", and removed some unnecessary #includes. svn path=/trunk/; revision=317