From fab07a94e0af4847dcab8d5a07b47ea0872b4bd6 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Mon, 17 Oct 2005 19:46:29 +0000 Subject: [PATCH] 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 --- gtk/main.c | 7 +++++++ 1 file changed, 7 insertions(+) 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