From 02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 16 Feb 2012 10:57:40 +0000 Subject: Make Capplet work again with new CamelSettings and other stuffs. Also add EPlugin support to capplet so that exchange and other accoutns can be configured via this. now. --- modules/startup-wizard/evolution-startup-wizard.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'modules/startup-wizard') diff --git a/modules/startup-wizard/evolution-startup-wizard.c b/modules/startup-wizard/evolution-startup-wizard.c index 2edeb1cc78..e5c1b8e50d 100644 --- a/modules/startup-wizard/evolution-startup-wizard.c +++ b/modules/startup-wizard/evolution-startup-wizard.c @@ -521,9 +521,9 @@ startup_wizard_new_capplet (EStartupWizard *extension) capplet = mail_capplet_shell_new (0, TRUE, TRUE); - g_signal_connect ( + /* g_signal_connect ( capplet, "destroy", - G_CALLBACK (gtk_main_quit), NULL); + G_CALLBACK (gtk_main_quit), NULL); */ return capplet; } @@ -553,16 +553,20 @@ startup_wizard_run (EStartupWizard *extension) if (express_mode) window = startup_wizard_new_capplet (extension); - else + else { window = startup_wizard_new_assistant (extension); - - g_signal_connect ( - window, "delete-event", - G_CALLBACK (startup_wizard_terminate), NULL); + g_signal_connect ( + window, "delete-event", + G_CALLBACK (startup_wizard_terminate), NULL); + } gtk_widget_show (window); gtk_main (); + + if (e_list_length (E_LIST (account_list)) <= 0) + exit(0); + } static void -- cgit v1.2.3