aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-26 21:58:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-26 22:28:36 +0800
commitbab29564a3067a8eefbe4c92a7117d54fb031b49 (patch)
tree9fb17b4643e333d09f7c11c17ade5ead86ced5b3 /shell/e-shell-window-actions.c
parent02c2097ea67846b0ff697f6222539d852da87a40 (diff)
downloadgsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar.gz
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar.bz2
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar.lz
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar.xz
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.tar.zst
gsoc2013-evolution-bab29564a3067a8eefbe4c92a7117d54fb031b49.zip
Show import progress directly in the assistant window.
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c8
1 files changed, 6 insertions, 2 deletions
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);