fix 369: we must do some more GUI stuff in capture_update_started(),

as GUI state get's cleared while switching to the next "multiple file" because of a call to cf_close()

svn path=/trunk/; revision=16134
This commit is contained in:
Ulf Lamping 2005-10-05 23:56:36 +00:00
parent fd9f7dc872
commit ec98957e13
1 changed files with 14 additions and 0 deletions

View File

@ -1349,8 +1349,22 @@ static void
main_cf_cb_live_capture_update_started(capture_options *capture_opts)
{
gchar *capture_msg;
gchar *title;
/* We've done this in "prepared" above, but it will be cleared while
switching to the next multiple file. */
if(capture_opts->iface) {
title = g_strdup_printf("%s: Capturing - Ethereal",
get_interface_descriptive_name(capture_opts->iface));
} else {
title = g_strdup_printf("Capturing - Ethereal");
}
set_main_window_name(title);
g_free(title);
set_menus_for_capture_in_progress(TRUE);
/* Enable menu items that make sense if you have some captured
packets (yes, I know, we don't have any *yet*). */
set_menus_for_captured_packets(TRUE);