aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2012-02-16 18:57:40 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2012-02-16 18:59:07 +0800
commit02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e (patch)
tree171b90bf2218012a02f71e2e066a7e90ac9413e7 /modules
parentb8cfd5f9a43d4fefd89731257f0d1ac3863de7df (diff)
downloadgsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar.gz
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar.bz2
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar.lz
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar.xz
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.tar.zst
gsoc2013-evolution-02cbfd837abaf8ec1218cc97f7fed70cbd1fdf7e.zip
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/startup-wizard/evolution-startup-wizard.c18
1 files changed, 11 insertions, 7 deletions
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