aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dfilter_expr_dlg.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-02-01 22:33:58 +0000
committerGuy Harris <guy@alum.mit.edu>2001-02-01 22:33:58 +0000
commitc4f0b539d72c2734dd4fdb445ba7fda4279a58ed (patch)
treeb07e3efb8d264039e89b3f1fb1317cd23684a415 /gtk/dfilter_expr_dlg.c
parentbf4d3052e872f5ead20591431405816d76b7ef2f (diff)
For protocols, call the test for the field being present "has this
protocol" rather than "is present". svn path=/trunk/; revision=2976
Diffstat (limited to 'gtk/dfilter_expr_dlg.c')
-rw-r--r--gtk/dfilter_expr_dlg.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/dfilter_expr_dlg.c b/gtk/dfilter_expr_dlg.c
index e41e1d6d4f..356085716e 100644
--- a/gtk/dfilter_expr_dlg.c
+++ b/gtk/dfilter_expr_dlg.c
@@ -7,7 +7,7 @@
* Copyright 2000, Jeffrey C. Foster<jfoste@woodward.com> and
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: dfilter_expr_dlg.c,v 1.8 2001/02/01 22:21:30 guy Exp $
+ * $Id: dfilter_expr_dlg.c,v 1.9 2001/02/01 22:33:58 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -251,10 +251,11 @@ show_relations(GtkWidget *relation_label, GtkWidget *relation_list,
default:
/*
* Add the supported relations.
- * XXX - pick something better than "is present"
- * for protocols.
*/
- add_relation_list(relation_list, "is present");
+ if (ftype == FT_PROTOCOL)
+ add_relation_list(relation_list, "has this protocol");
+ else
+ add_relation_list(relation_list, "is present");
if (ftype_can_eq(ftype))
add_relation_list(relation_list, "==");
if (ftype_can_ne(ftype))
@@ -276,7 +277,7 @@ show_relations(GtkWidget *relation_label, GtkWidget *relation_list,
}
/*
- * Are range supported? If so, show the range stuff,
+ * Are ranges supported? If so, show the range stuff,
* otherwise hide it.
*/
if (ftype_can_slice(ftype)) {