aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/filter_prefs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-28 04:18:47 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-28 04:18:47 +0000
commit4215bfee6b0c84286c81b1c781a39c0c18922b63 (patch)
tree54a5fd73f03412669a9df0a906441c7d23159334 /gtk/filter_prefs.h
parentc9ea03f55ad815fdcede1cbcfd39bf4ad94548f6 (diff)
The string in the Find Frame dialog box isn't necessarily a display
filter string; check its syntax appropriately for the type of search we're doing when colorizing it. Searching for an empty text string is a pointless exercise; report that as an error. svn path=/trunk/; revision=10253
Diffstat (limited to 'gtk/filter_prefs.h')
-rw-r--r--gtk/filter_prefs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/filter_prefs.h b/gtk/filter_prefs.h
index 0f2a553ae5..93df1def75 100644
--- a/gtk/filter_prefs.h
+++ b/gtk/filter_prefs.h
@@ -3,7 +3,7 @@
* (This used to be a notebook page under "Preferences", hence the
* "prefs" in the file name.)
*
- * $Id: filter_prefs.h,v 1.17 2004/01/25 15:10:36 ulfl Exp $
+ * $Id: filter_prefs.h,v 1.18 2004/02/28 04:18:47 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -45,7 +45,10 @@ void cfilter_dialog_cb(GtkWidget *w);
void dfilter_dialog_cb(GtkWidget *w);
void filter_add_expr_bt_cb(GtkWidget *w _U_, gpointer main_w_arg);
-void filter_te_syntax_check_cb(GtkWidget *w _U_);
+void colorize_filter_te_as_empty(GtkWidget *w);
+void colorize_filter_te_as_invalid(GtkWidget *w);
+void colorize_filter_te_as_valid(GtkWidget *w);
+void filter_te_syntax_check_cb(GtkWidget *w);
#define E_FILT_BT_PTR_KEY "filter_bt_ptr"
#define E_FILT_TE_PTR_KEY "filter_te_ptr"