aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-11-23 04:28:24 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:04 +0800
commit89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df (patch)
tree4a8c829382d963104a260c32a19634204efa8176 /mail/mail-ops.c
parent64d24b234e59628c8d2a3adf34b416f8bd2da78d (diff)
downloadgsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar.gz
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar.bz2
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar.lz
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar.xz
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.tar.zst
gsoc2013-evolution-89557dcfee7bb9f7ca7dddfe559e89dc7b2a93df.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);