diff options
author | Not Zed <NotZed@HelixCode.com> | 2001-01-04 15:28:40 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-01-04 15:28:40 +0800 |
commit | bf08ae0bb273c9add8bf97e36a5f195900b9f176 (patch) | |
tree | f2adb1f57f04da5b52ca7165ff5e012e391fd92d /camel | |
parent | 66b0d503f52905b2f8d585aae20533b5dd063330 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-folder.c | 2 |
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++) { |