aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-folder.c2
2 files changed, 6 insertions, 1 deletions
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 <NotZed@HelixCode.com>
+
+ * camel-folder.c (thaw): If we have a lot of messages changed,
+ promote it to a folder changed event.
+
2000-01-03 Jeffrey Stedfast <fejj@helixcode.com>
* 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;i<info->uid_changed->len;i++) {