aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-16 05:04:11 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-16 05:04:11 +0000
commitb8eae38ada45cf257c774e78bc8f656d7fbc0381 (patch)
tree4bfa54be8ea283f951e83031d90f1bc69c3801da /gtk
parent283f925b93a55fda0914d12eafa7641e5286ebc3 (diff)
From Ronnie Sahlberg: when the user selects a filter from the popup
dialog, make the main window come to the front. svn path=/trunk/; revision=9292
Diffstat (limited to 'gtk')
-rw-r--r--gtk/endpoint_talkers_table.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/endpoint_talkers_table.c b/gtk/endpoint_talkers_table.c
index cb6380acbd..f7c7a2f847 100644
--- a/gtk/endpoint_talkers_table.c
+++ b/gtk/endpoint_talkers_table.c
@@ -4,7 +4,7 @@
* endpoint_talkers_table 2003 Ronnie Sahlberg
* Helper routines common to all endpoint talkers tap.
*
- * $Id: endpoint_talkers_table.c,v 1.25 2003/12/14 10:28:20 guy Exp $
+ * $Id: endpoint_talkers_table.c,v 1.26 2003/12/16 05:04:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -46,6 +46,7 @@
#include "gtk/find_dlg.h"
#include "color.h"
#include "gtk/color_dlg.h"
+#include "gtkglobals.h"
extern GtkWidget *main_display_filter_widget;
@@ -517,6 +518,8 @@ ett_select_filter_cb(GtkWidget *widget _U_, gpointer callback_data, guint callba
/* match */
gtk_entry_set_text(GTK_ENTRY(main_display_filter_widget), str);
filter_packets(&cfile, str);
+ gdk_window_raise(top_level->window);
+ break;
case 1:
/* prepare */
gtk_entry_set_text(GTK_ENTRY(main_display_filter_widget), str);