aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-09-23 09:05:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-09-23 09:05:16 +0800
commita2d243e391c4e3ecb485bca2238a91812ad8ab07 (patch)
tree8d815b538759ddb53e14455a40711c3d2bd744b8 /mail/mail-folder-cache.c
parent98cf0ad5f56332f9a8d6bcdf1e0da2f18e656fdd (diff)
downloadgsoc2013-evolution-a2d243e391c4e3ecb485bca2238a91812ad8ab07.tar.gz
gsoc2013-evolution-a2d243e391c4e3ecb485bca2238a91812ad8ab07.tar.zst
gsoc2013-evolution-a2d243e391c4e3ecb485bca2238a91812ad8ab07.zip
** See bug #32996
2003-09-22 Not Zed <NotZed@Ximian.com> ** See bug #32996 * mail-folder-cache.c (real_flush_updates): don't just pass TRUE to the 'can work offline' parameter of new shell folder. ** See bug #39410 * mail-ops.c (prep_offline_do): sync all messages, not just unread or flagged ones. svn path=/trunk/; revision=22655
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index cbdfacf3d6..c22d3011b0 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -253,7 +253,8 @@ real_flush_updates(void *o, void *event_data, void *data)
evolution_storage_new_folder(storage,
up->path, up->name, type, up->uri, up->name, NULL,
up->unread,
- TRUE, 0);
+ CAMEL_IS_DISCO_STORE(up->store)
+ && camel_disco_store_can_work_offline((CamelDiscoStore *)up->store), 0);
}
if (!up->olduri && up->add)