diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-19 09:22:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-19 09:22:19 +0000 |
commit | 467aa5438504d910cb3f3e811b4c1dda42cd7442 (patch) | |
tree | 33ed440b0582277723f0496cc531e6cace70e969 /colors.h | |
parent | 8d1edc855cab50e185e1681869a76df10c56feb9 (diff) |
Don't keep the CList of color filters around; create it when the
"Colorize Display" dialog box is created, and let it be destoryed when
that dialog box is destroyed.
When moving color filters up or down, update the (order of the elements
in the) list of color filters, as well as the CList that displays them.
If we have a "Colorize Display" dialog box open, and the user selects
"Display:Colorize Display", raise the existing window, rather than
creating a new window. (Alas, GTK+ doesn't have a call to request that
the window be given the input focus, so we can't do that as well.)
Fix up some names to be more consistent and to better reflect what the
variables/routines are for.
svn path=/trunk/; revision=1361
Diffstat (limited to 'colors.h')
-rw-r--r-- | colors.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,7 +1,7 @@ /* colors.h * Definitions for color structures and routines * - * $Id: colors.h,v 1.9 1999/12/19 07:28:35 guy Exp $ + * $Id: colors.h,v 1.10 1999/12/19 09:22:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -60,15 +60,12 @@ typedef struct _color_filter { extern GSList *filter_list; typedef struct _colfilter { - GtkWidget *color_filters; gint num_of_filters; /* first num_of_filters rows filled */ gint row_selected; /* row in color_filters that is selected */ } colfilter; colfilter *colfilter_new(void); -color_filter_t *color_filter(gint n); - /* ===================== USER INTERFACE ====================== */ void |