From a2d243e391c4e3ecb485bca2238a91812ad8ab07 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 23 Sep 2003 01:05:16 +0000 Subject: ** See bug #32996 2003-09-22 Not Zed ** 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 --- mail/ChangeLog | 12 ++++++++++++ mail/mail-folder-cache.c | 3 ++- mail/mail-ops.c | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 7f3ff2d92d..f6b600b97e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,15 @@ +2003-09-22 Not Zed + + ** 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. + 2003-09-22 Not Zed * em-popup.c (emp_uri_popup_link_copy): removed, moved to 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) diff --git a/mail/mail-ops.c b/mail/mail-ops.c index f68e8b9d20..2cf09e8bff 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -2166,7 +2166,7 @@ static void prep_offline_do(struct _mail_msg *mm) if (folder) { if (CAMEL_IS_DISCO_FOLDER(folder)) { camel_disco_folder_prepare_for_offline((CamelDiscoFolder *)folder, - "(match-all (or (not (system-flag \"Seen\")) (system-flag \"Flagged\")))", + "(match-all)", &mm->ex); } /* prepare_for_offline should do this? */ -- cgit v1.2.3