aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-11 19:58:29 +0800
committerMilan Crha <mcrha@redhat.com>2011-02-11 19:58:29 +0800
commit7215cf088f73cfa61e877a83fa0fdd4227095725 (patch)
tree02e3dc7be53525c522a67dcd0493f57d7930f9af /modules
parentd7a4351101fa05496f84a46b822dbe3d2b1779da (diff)
downloadgsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar.gz
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar.bz2
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar.lz
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar.xz
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.tar.zst
gsoc2013-evolution-7215cf088f73cfa61e877a83fa0fdd4227095725.zip
Bug #637727 - Sent/Draft folder not set in startup-wizard account
Diffstat (limited to 'modules')
-rw-r--r--modules/startup-wizard/evolution-startup-wizard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/startup-wizard/evolution-startup-wizard.c b/modules/startup-wizard/evolution-startup-wizard.c
index 928ff277cb..2bbaa5675e 100644
--- a/modules/startup-wizard/evolution-startup-wizard.c
+++ b/modules/startup-wizard/evolution-startup-wizard.c
@@ -26,6 +26,7 @@
#include <e-util/e-import.h>
#include <mail/e-mail-backend.h>
+#include <mail/e-mail-local.h>
#include <mail/em-account-editor.h>
#include <capplet/settings/mail-capplet-shell.h>
#include <calendar/gui/calendar-config.h>
@@ -434,12 +435,16 @@ startup_wizard_new_assistant (EStartupWizard *extension)
EConfigItem *config_item;
GtkWidget *widget;
GSList *items = NULL;
+ const gchar *data_dir;
shell = startup_wizard_get_shell (extension);
shell_backend = e_shell_get_backend_by_name (shell, "mail");
backend = E_MAIL_BACKEND (shell_backend);
session = e_mail_backend_get_session (backend);
+ data_dir = e_shell_backend_get_data_dir (shell_backend);
+
+ e_mail_local_init (session, data_dir);
emae = em_account_editor_new (
NULL, EMAE_ASSISTANT, session,