aboutsummaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-16 01:18:35 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-16 01:18:35 +0000
commita3d425996f213ae9081e4153549b42199d0ae97a (patch)
tree530004cda45554c7702e232392c8e791bc3a3baf /filter.c
parent400f44cad5bf7e0d2225fcf6fd4b35702afb8411 (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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@61 f5534014-38df-0310-8fa8-9805f1628bb7
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);
}