aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/io_stat.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-13 17:28:36 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-13 17:28:36 +0000
commitb19ba53f35c05a658c8530046ecdfe659ff9a431 (patch)
tree8248cd8f32ea2e3592aedc85c43ba3b6b75d9222 /gtk/io_stat.c
parentdc2fed3ed35e40b0b5e2667afbd19ea085601bb2 (diff)
downloadwireshark-b19ba53f35c05a658c8530046ecdfe659ff9a431.tar.gz
wireshark-b19ba53f35c05a658c8530046ecdfe659ff9a431.tar.bz2
wireshark-b19ba53f35c05a658c8530046ecdfe659ff9a431.zip
Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26433
Diffstat (limited to 'gtk/io_stat.c')
-rw-r--r--gtk/io_stat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/io_stat.c b/gtk/io_stat.c
index 8cd54bc9a6..8157067243 100644
--- a/gtk/io_stat.c
+++ b/gtk/io_stat.c
@@ -1294,6 +1294,7 @@ gtk_iostat_init(const char *optarg _U_, void* userdata _U_)
init_io_stat_window(io);
cf_retap_packets(&cfile, FALSE);
+ gdk_window_raise(io->window->window);
io_stat_redraw(io);
}
@@ -1495,6 +1496,7 @@ tick_interval_select(GtkWidget *item, gpointer key)
io->interval=val;
cf_retap_packets(&cfile, FALSE);
+ gdk_window_raise(io->window->window);
io_stat_redraw(io);
}
@@ -1884,6 +1886,7 @@ filter_callback(GtkWidget *widget _U_, io_stat_graph_t *gio)
io_stat_reset(gio->io);
enable_graph(gio, filter, field);
cf_retap_packets(&cfile, FALSE);
+ gdk_window_raise(gio->io->window->window);
io_stat_redraw(gio->io);
return 0;