aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
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);
}