aboutsummaryrefslogtreecommitdiffstats
path: root/column.c
AgeCommit message (Collapse)AuthorFilesLines
1999-06-21Found some erroneous usages of gtk_signal_connect_object. I always wonderedGilbert Ramirez1-2/+2
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-63/+1
"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-2/+2
"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-15/+2
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
1999-03-23Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1-1/+2
reference the protocol tree with struct proto_tree and struct proto_item objects. That way, the packet decoding source code file can be used with non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged some of the information in packet.h to more appropriate places (like other packet-*.[ch] files). svn path=/trunk/; revision=223
1999-03-05IPX addresses in the Destination/Source fields of the "column" part of the GUIGilbert Ramirez1-2/+2
are now written in NNNNNNNN.hhhhhhhhhhhh form, N=IPX network, h=hwaddr. svn path=/trunk/; revision=211
1999-01-04* Final commit for version 0.5.1Gerald Combs1-4/+5
* Added RPM .spec file (Martin Maciaszek) * Added Martin to AUTHORS svn path=/trunk/; revision=149
1998-12-29* Added Joerg Mayer's Vines patchGerald Combs1-9/+43
* Added Joerg to the AUTHORS file * Added Guy's bitfield decode patch * Fixed time output svn path=/trunk/; revision=142
1998-12-22Fixed more bugs with dialogues and gtk+-1.1.x.Gilbert Ramirez1-1/+5
svn path=/trunk/; revision=137
1998-12-17A patch spread across many files to let Ethereal compile under GTK+-1.1.x.Gilbert Ramirez1-1/+2
Tests for GTK versions are done during compilation, not during "./configure". The big problems have been taken care of in this patch (functional change in the packet clist and conversion of menu_factory to item_factory), but plenty of smaller problems with dialogue boxes abound. I have fixed a small problem with file_open*(), but have left 2 comments in just in case I'm not going about this the right way. Can someone verify? svn path=/trunk/; revision=127
1998-12-16Note that wiring the current longest string in a column intoGuy Harris1-1/+5
"get_column_width()" is somewhat fragile, and suggest a possible alternative. svn path=/trunk/; revision=126
1998-11-18* Added patches from Laurent and GuyGerald Combs1-14/+11
svn path=/trunk/; revision=103
1998-11-17* Fixes for TCP and UDP port number display.Gerald Combs1-1/+7
svn path=/trunk/; revision=98
1998-11-17* Added column formatting functionality.Gerald Combs1-0/+644
* Added check_col(), add_col_str() and add_col_fmt() to replace references to ft->win_info. * Added column prefs handling code. svn path=/trunk/; revision=97