diff options
author | Dan Winship <danw@src.gnome.org> | 2000-11-29 06:59:00 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-11-29 06:59:00 +0800 |
commit | 3ca789bf0f8844be4718d2b9b1b9416b334d0424 (patch) | |
tree | 411be35a29c4db3a25f3b337c3920547fc04be33 /mail/component-factory.c | |
parent | e365109fdc5f0fb5c2929c7fa14720fbcc86ad37 (diff) | |
download | gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.gz gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.bz2 gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.lz gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.xz gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.zst gsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.zip |
Wait until after setting up the local storage to find the
* component-factory.c (owner_set_cb): Wait until after setting up
the local storage to find the Drafts/Outbox/Sent folders.
* mail-ops.c (do_setup_folder): Use the file: store rather than
mbox:.
svn path=/trunk/; revision=6704
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 6b6f16cca4..b1f50f0a96 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -123,13 +123,7 @@ owner_set_cb (EvolutionShellComponent *shell_component, evolution_dir = g_strdup (evolution_homedir); mail_session_init (); - mail_config_init (); - mail_do_setup_folder ("Drafts", &drafts_folder); - mail_do_setup_folder ("Outbox", &outbox_folder); - mail_do_setup_folder ("Sent", &sent_folder); - /* Don't proceed until those _folder variables are valid. */ - mail_operation_wait_for_finish (); create_vfolder_storage (shell_component); @@ -141,6 +135,12 @@ owner_set_cb (EvolutionShellComponent *shell_component, mail_load_storages (corba_shell, sources); mail_local_storage_startup (shell_client, evolution_dir); + + mail_do_setup_folder ("Drafts", &drafts_folder); + mail_do_setup_folder ("Outbox", &outbox_folder); + mail_do_setup_folder ("Sent", &sent_folder); + /* Don't proceed until those _folder variables are valid. */ + mail_operation_wait_for_finish (); } static void |