aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-10-17 19:46:29 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-10-17 19:46:29 +0000
commitfab07a94e0af4847dcab8d5a07b47ea0872b4bd6 (patch)
treef8dbca55da7e4bada23ee6154857ab4b58b22a1e
parent93b99abf30be1d899d5feb413e4d998ed352ebc1 (diff)
don't show the "stopping currently running capture" dialog, as the packet list seems to have problems updating the screen, so some ugly artefacts remain on the screen.
after I've fixed a bug in the Win32 capture stop mechanism some days(?) before (which speeds up that stopping a lot), this dialog isn't really needed svn path=/trunk/; revision=16257
-rw-r--r--gtk/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/main.c b/gtk/main.c
index 5c7cd10d62..584e9292a9 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -1491,6 +1491,12 @@ main_cf_cb_live_capture_fixed_finished(capture_file *cf _U_)
static void
main_cf_cb_live_capture_stopping(capture_file *cf _U_)
{
+#if 0
+ /* XXX - the time to stop the capture has been reduced (this was only a
+ * problem on Win32 because of the capture piping), so showing a splash
+ * isn't really necessary any longer. Unfortunately, the GTKClist packet
+ * list seems to have problems updating after the dialog is closed, so
+ * this was disabled here. */
stop_dlg = simple_dialog(ESD_TYPE_STOP, ESD_BTN_NONE, "%sCapture stop!%s\n\nPlease wait ...",
simple_dialog_primary_start(), simple_dialog_primary_end());
#if GTK_MAJOR_VERSION >= 2
@@ -1498,6 +1504,7 @@ main_cf_cb_live_capture_stopping(capture_file *cf _U_)
#else
gtk_window_set_position(GTK_WINDOW(stop_dlg), GTK_WIN_POS_CENTER);
#endif
+#endif
}
#endif