aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog12
-rw-r--r--mail/mail-folder-cache.c3
-rw-r--r--mail/mail-ops.c2
3 files changed, 15 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7f3ff2d92d..f6b600b97e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,17 @@
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.
+
+2003-09-22 Not Zed <NotZed@Ximian.com>
+
* em-popup.c (emp_uri_popup_link_copy): removed, moved to
em-folder-view, for now, it has access to an invisible.
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? */