diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-13 18:16:35 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-10-13 18:16:35 +0000 |
commit | b4d9a5c868981a8d85ad3a9ff265796fa76d2d5a (patch) | |
tree | 5b25bd7a4690b2da92f100e75b61305b5a5d90be /gtk/hostlist_table.c | |
parent | 489b5e1fecc4c232eb827b7ca80a544a008b7b31 (diff) | |
download | wireshark-b4d9a5c868981a8d85ad3a9ff265796fa76d2d5a.tar.gz wireshark-b4d9a5c868981a8d85ad3a9ff265796fa76d2d5a.tar.bz2 wireshark-b4d9a5c868981a8d85ad3a9ff265796fa76d2d5a.zip |
Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26436
Diffstat (limited to 'gtk/hostlist_table.c')
-rw-r--r-- | gtk/hostlist_table.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/hostlist_table.c b/gtk/hostlist_table.c index 80af8c67f4..6ab18bc58b 100644 --- a/gtk/hostlist_table.c +++ b/gtk/hostlist_table.c @@ -736,6 +736,7 @@ init_hostlist_table(gboolean hide_ports, const char *table_name, const char *tap window_present(hosttable->win); cf_retap_packets(&cfile, FALSE); + gdk_window_raise(hosttable->win->window); /* Keep clist frozen to cause modifications to the clist (inserts, appends, others that are extremely slow in GTK2) to not be drawn, allow refreshes to occur at strategic points for performance */ @@ -861,7 +862,7 @@ hostlist_filter_toggle_dest(GtkWidget *widget, gpointer data) int page; void ** pages = data; gboolean use_filter; - hostlist_table *hosttable; + hostlist_table *hosttable = NULL; use_filter = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (widget)); @@ -872,6 +873,9 @@ hostlist_filter_toggle_dest(GtkWidget *widget, gpointer data) } cf_retap_packets(&cfile, FALSE); + if (hosttable) { + gdk_window_raise(hosttable->win->window); + } /* after retapping, redraw table */ for (page=1; page<=GPOINTER_TO_INT(pages[0]); page++) { @@ -979,6 +983,7 @@ init_hostlist_notebook_cb(GtkWidget *w _U_, gpointer d _U_) window_present(win); cf_retap_packets(&cfile, FALSE); + gdk_window_raise(win->window); /* after retapping, redraw table */ for (page=1; page<=GPOINTER_TO_INT(pages[0]); page++) { |