aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-11-29 06:59:00 +0800
committerDan Winship <danw@src.gnome.org>2000-11-29 06:59:00 +0800
commit3ca789bf0f8844be4718d2b9b1b9416b334d0424 (patch)
tree411be35a29c4db3a25f3b337c3920547fc04be33 /mail/mail-ops.c
parente365109fdc5f0fb5c2929c7fa14720fbcc86ad37 (diff)
downloadgsoc2013-evolution-3ca789bf0f8844be4718d2b9b1b9416b334d0424.tar.gz
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/mail-ops.c')
-rw-r--r--mail/mail-ops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 1646c35416..1ef2af4074 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2229,12 +2229,9 @@ do_setup_folder (gpointer in_data, gpointer op_data, CamelException *ex)
setup_folder_input_t *input = (setup_folder_input_t *) in_data;
gchar *url;
- url = g_strdup_printf ("mbox://%s/local/%s", evolution_dir,
+ url = g_strdup_printf ("file://%s/local/%s", evolution_dir,
input->name);
- *(input->folder) = mail_tool_get_folder_from_urlname (url, "mbox",
- CAMEL_STORE_FOLDER_CREATE
- |CAMEL_STORE_FOLDER_BODY_INDEX,
- ex);
+ *(input->folder) = mail_tool_uri_to_folder (url, ex);
g_free (url);
}