From bf08ae0bb273c9add8bf97e36a5f195900b9f176 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 4 Jan 2001 07:28:40 +0000 Subject: If we have a lot of messages changed, promote it to a folder changed 2001-01-04 Not Zed * camel-folder.c (thaw): If we have a lot of messages changed, promote it to a folder changed event. svn path=/trunk/; revision=7245 --- camel/ChangeLog | 5 +++++ camel/camel-folder.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index c5f5a534fe..9fe3cea230 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-01-04 Not Zed + + * camel-folder.c (thaw): If we have a lot of messages changed, + promote it to a folder changed event. + 2000-01-03 Jeffrey Stedfast * camel-folder-search.c (search_header_matches): Implemented. diff --git a/camel/camel-folder.c b/camel/camel-folder.c index 63a5992141..f13292fdf7 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -1213,7 +1213,7 @@ thaw (CamelFolder * folder) do a message changed for each one. TODO: message_changed is now probably irrelevant and not required */ info = folder->priv->changed_frozen; - if (info->uid_added->len > 0 || info->uid_removed->len > 0) { + if (info->uid_added->len > 0 || info->uid_removed->len > 0 || info->uid_changed->len > 10) { camel_object_trigger_event(CAMEL_OBJECT(folder), "folder_changed", info); } else if (info->uid_changed->len > 0) { for (i=0;iuid_changed->len;i++) { -- cgit