aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-11-23 04:28:24 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2010-11-23 04:34:03 +0800
commite3dda0436d981d9632a529aa5ca7230cb343694b (patch)
tree08c6ddc8d5daa9ecc8e037ce7ecdc9ea71327952 /mail/mail-ops.c
parentb5c8f6f9be84477d3fe201c5cc234256399542a6 (diff)
downloadgsoc2013-evolution-e3dda0436d981d9632a529aa5ca7230cb343694b.tar.gz
gsoc2013-evolution-e3dda0436d981d9632a529aa5ca7230cb343694b.tar.zst
gsoc2013-evolution-e3dda0436d981d9632a529aa5ca7230cb343694b.zip
Migrate the local store from mbox to maildir format
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 28cd77a613..0be719be54 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -241,7 +241,7 @@ fetch_mail_exec (struct _fetch_mail_msg *m,
/* FIXME: this should support keep_on_server too, which would then perform a spool
access thingy, right? problem is matching raw messages to uid's etc. */
- if (!strncmp (m->source_uri, "mbox:", 5)) {
+ if (!strncmp (m->source_uri, "maildir:", 5)) {
gchar *path = mail_tool_do_movemail (m->source_uri, error);
if (path && (!error || !*error)) {
@@ -1890,7 +1890,7 @@ expunge_folder_exec (struct _sync_folder_msg *m,
gchar *uri;
data_dir = mail_session_get_data_dir ();
- uri = g_strdup_printf ("mbox:%s/local", data_dir);
+ uri = g_strdup_printf ("maildir:%s/local", data_dir);
trash = e_mail_session_get_trash_sync (
m->session, uri, cancellable, error);
g_free (uri);
@@ -1965,7 +1965,7 @@ empty_trash_exec (struct _empty_trash_msg *m,
cancellable, error);
} else {
data_dir = mail_session_get_data_dir ();
- uri = g_strdup_printf ("mbox:%s/local", data_dir);
+ uri = g_strdup_printf ("maildir:%s/local", data_dir);
trash = e_mail_session_get_trash_sync (
m->session, uri, cancellable, error);
g_free (uri);