aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.h
AgeCommit message (Collapse)AuthorFilesLines
2000-01-06Printing multiple pages of PostScript wasn't as tricky as I thought; addGuy Harris1-4/+1
support for printing in PostScript to the "Print..." dialog box. svn path=/trunk/; revision=1426
2000-01-03Don't have "write_prefs()" display a dialog box if the attempt to openGuy Harris1-2/+2
the preferences file fails, have it return an error indication and the path of the preferences file, and have its caller display the dialog box. That way you don't have to drag in the dialog box code if you're going to use the preferences code in, say, a "line-mode" Ethereal. svn path=/trunk/; revision=1413
1999-12-30Allow user to modify appearance of lines and expanders in GUI protocolGilbert Ramirez1-1/+3
tree. svn path=/trunk/; revision=1400
1999-12-29Changed the protocol tree widget from a GtkTree to a GtkCTree. The two reasonsGilbert Ramirez1-1/+3
I did this: First, Havoc Pennington, in "GTK+/Gnome Application Development", in Appendix seciton A.3.88, recommends using GtkCTree instead of GtkTree because GtkCtree is faster, and GtkTree has limitation on its total row height: since it must fit inside a GdkWindow, it is limited to 32,768 pixels of height. GtkTree is more flexible with regards to the types of widgets that can be placed in the tree, but since we deal only with text, that doesn't matter, at least for now. Secondly, a GtkTree doesn't allow arrow-key navigation (at least as far as I could tell). It always bothered me that the up and down arrow keys worked in the packet list and in the hex dump, but no in the protocol tree. GtkCTree does allow arrow-key navigation. In fact, GtkCTree is a subclass of GtkCList (the packet list widget), so they behave a lot alike. I went ahead and fixed the selection bar which has been bothering Richard for a long time now. :) In the GUI preferences dialogue, you can now set both the packet list selection bar and the protocol tree selection bar to either "browse" or "select" mode. "browse" mode is what you're used to: the arrow keys move an outline of the selection bar, but do not change the selection. "select" mode does change the selection when the arrow keys are pressed. The default behavior is set to "select", which seems more natural for a first-time user. svn path=/trunk/; revision=1393
1999-12-16Add a new page to the Preferences notebook: a GUI page. The soleGilbert Ramirez1-1/+2
option right now is the placement of the vertical scrollbars in the 3 panes. (it's one decision; you can't have the placement of the vertical scrollbar in the packet list pane different than the placement in the protocol tree pane, for example). I did this because I find it convenient to have the vertical scrollbars on the *left* side of the text. My mouse cursor is usually expanding and collapsing the protocol tree widgets, and once the protocol tree changes size, I usually have to scroll. I'd rather move my mouse cursor just a few pixels over to find the vertical scrollbar. svn path=/trunk/; revision=1351
1999-12-10Move GTK code out of summary.c and into gtk/summary_dlg.cGilbert Ramirez1-1/+5
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
1999-12-02Add stream window color preferences. We don't (yet) use cmaps, so thisGerald Combs1-7/+8
may not work with pseudocolor systems. svn path=/trunk/; revision=1179
1999-09-09More shuffling of GTK-related routines to gtk subdirectory.Gilbert Ramirez1-9/+2
svn path=/trunk/; revision=636
1999-07-23Add a "File/Print" menu item, which prints *all* the packets in theGuy Harris1-1/+3
capture to a file or printer. This should eventually get the ability to print either all the packets or only the packets selected by the display filter, and possibly also the ability to print only packets M through N. Get rid of "cur" member of "capture_file" structure; nobody used it. There's no need to pass a pointer to a "dialog_button" variable to "simple_dialog()" for the error boxes displayed if a file copy or move fails; that dialog box is just a message box and has only an "OK" button. Put the declaration of "prefs" into "prefs.h". svn path=/trunk/; revision=378
1999-06-12Don't pop up the "Can't open preferences file" dialog until *after*Guy Harris1-2/+2
we've shown the top-level window, because we want it to pop up on *top* of the top-level window, rather than being hidden behind it. Put a "strerror()"-based reason *why* the open failed in that dialog. svn path=/trunk/; revision=308
1998-11-17* Added column formatting functionality.Gerald Combs1-10/+10
* 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
1998-10-28* Added preference file saves and reads.Gerald Combs1-4/+15
svn path=/trunk/; revision=75
1998-10-12- Added match_strval function to packet.cGerald Combs1-2/+11
- Separated display and capture filters; rearranged some of the look and feel - Lots of other miscellaneous fixes and updates svn path=/trunk/; revision=38
1998-10-10* OSPF alignment fixes (Gerald)Gerald Combs1-1/+2
* FDDI support (Laurent, Guy) svn path=/trunk/; revision=36
1998-09-25* Ethernet manufacturer support (Laurent)Gerald Combs1-0/+33
* PPP fixes (Gerald) * Null/loopback interface support (Gerald) svn path=/trunk/; revision=25