diff options
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 8d74ae97de..7ded180449 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -838,7 +838,19 @@ static void action_import_cb (GtkAction *action, EShellWindow *shell_window) { - e_shell_importer_start_import (); + GtkWidget *importer; + + importer = e_shell_importer_new (GTK_WINDOW (shell_window)); + + g_signal_connect ( + importer, "cancel", + G_CALLBACK (gtk_widget_destroy), NULL); + + g_signal_connect ( + importer, "finished", + G_CALLBACK (gtk_widget_destroy), NULL); + + gtk_widget_show (importer); } /** |