From: Jose Dapena Paz Date: Wed, 6 May 2009 08:26:50 +0000 (+0200) Subject: Show always accounts window below the wizard (fixes NB#113810) X-Git-Tag: 3.0.17-rc3~13 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=93306e6a861a2b2e6488be8f7aac96deace2af48;hp=b7b9e1ba721e8fcfee5a77d01e0d12c01e83964b Show always accounts window below the wizard (fixes NB#113810) --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 23967ab..f96f6cd 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -242,7 +242,6 @@ modest_ui_actions_run_account_setup_wizard (ModestWindow *win) window_list = modest_window_mgr_get_window_list (mgr); if (window_list == NULL) { - ModestWindow *old_win; win = MODEST_WINDOW (modest_accounts_window_new ()); if (modest_window_mgr_register_window (mgr, win, NULL)) { gtk_widget_show_all (GTK_WIDGET (win)); @@ -251,14 +250,6 @@ modest_ui_actions_run_account_setup_wizard (ModestWindow *win) win = NULL; } - old_win = win; - win = MODEST_WINDOW (modest_folder_window_new (NULL)); - if (modest_window_mgr_register_window (mgr, win, NULL)) { - gtk_widget_show_all (GTK_WIDGET (win)); - } else { - gtk_widget_destroy (GTK_WIDGET (win)); - win = old_win; - } } else { g_list_free (window_list); }