aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2001-01-04 15:28:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-04 15:28:40 +0800
commitbf08ae0bb273c9add8bf97e36a5f195900b9f176 (patch)
treef2adb1f57f04da5b52ca7165ff5e012e391fd92d /camel/camel-folder.c
parent66b0d503f52905b2f8d585aae20533b5dd063330 (diff)
downloadgsoc2013-evolution-bf08ae0bb273c9add8bf97e36a5f195900b9f176.tar.gz
gsoc2013-evolution-bf08ae0bb273c9add8bf97e36a5f195900b9f176.tar.zst
gsoc2013-evolution-bf08ae0bb273c9add8bf97e36a5f195900b9f176.zip
If we have a lot of messages changed, promote it to a folder changed
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. svn path=/trunk/; revision=7245
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
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++) {