aboutsummaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>1998-10-16 01:18:35 +0000
committerGerald Combs <gerald@wireshark.org>1998-10-16 01:18:35 +0000
commit349f96bb49fabf8ada49bb3a258518ed8c472076 (patch)
tree530004cda45554c7702e232392c8e791bc3a3baf /filter.c
parent5a35314f8034441930fe7caa8de6b8e7dec4ae7a (diff)
* Copied in the correct GNU license (I'm such a goober)
* Hacks to the filter interface (Gerald) * About box (Laurent) * AppleTalk support (Simon) * Mods to the match_strval routine (Gerald) svn path=/trunk/; revision=61
Diffstat (limited to 'filter.c')
-rw-r--r--filter.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/filter.c b/filter.c
index 95630a1ec6..8b58e9ddac 100644
--- a/filter.c
+++ b/filter.c
@@ -1,7 +1,7 @@
/* filter.c
* Routines for managing filter sets
*
- * $Id: filter.c,v 1.7 1998/10/13 07:03:33 guy Exp $
+ * $Id: filter.c,v 1.8 1998/10/16 01:18:28 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -224,7 +224,12 @@ filter_prefs_show(GtkWidget *w) {
gtk_widget_show(filter_te);
if (l_select)
+ {
gtk_list_select_child(GTK_LIST(filter_l), l_select);
+ } else if (filter_te_str && filter_te_str[0]) {
+ gtk_entry_set_text(GTK_ENTRY(name_te), "New filter");
+ gtk_entry_set_text(GTK_ENTRY(filter_te), filter_te_str);
+ }
return(main_vb);
}