From bab29564a3067a8eefbe4c92a7117d54fb031b49 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 26 Sep 2009 09:58:11 -0400 Subject: Show import progress directly in the assistant window. --- shell/e-shell-window-actions.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index ce10bca488..e01aeb1b7b 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -840,11 +840,15 @@ action_import_cb (GtkAction *action, assistant = e_import_assistant_new (GTK_WINDOW (shell_window)); - g_signal_connect ( + /* These are "Run Last" signals, so use g_signal_connect_after() + * to give the default handlers a chance to run before we destroy + * the window. */ + + g_signal_connect_after ( assistant, "cancel", G_CALLBACK (gtk_widget_destroy), NULL); - g_signal_connect ( + g_signal_connect_after ( assistant, "finished", G_CALLBACK (gtk_widget_destroy), NULL); -- cgit