diff options
author | Radek Doulik <rodo@ximian.com> | 2004-03-13 05:36:49 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-03-13 05:36:49 +0800 |
commit | b4900461b95140b9fbe6afe8fd5df4e8eab1ca47 (patch) | |
tree | 085c64d1a878f0508efef09e01b609d42d896aa6 /camel | |
parent | e28d5364ac2716e911c121657a20923682c5b2b2 (diff) | |
download | gsoc2013-evolution-b4900461b95140b9fbe6afe8fd5df4e8eab1ca47.tar.gz gsoc2013-evolution-b4900461b95140b9fbe6afe8fd5df4e8eab1ca47.tar.zst gsoc2013-evolution-b4900461b95140b9fbe6afe8fd5df4e8eab1ca47.zip |
clearn the learn bit only if set
2004-03-12 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): clearn the learn bit only if set
svn path=/trunk/; revision=25051
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-folder.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a962188994..5024407e2c 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2004-03-12 Radek Doulik <rodo@ximian.com> + + * camel-folder.c (folder_changed): clearn the learn bit only if set + 2004-03-12 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #55018. diff --git a/camel/camel-folder.c b/camel/camel-folder.c index af375b2134..bf9bd13763 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -1723,10 +1723,9 @@ folder_changed (CamelObject *obj, gpointer event_data) notjunk = g_ptr_array_new(); g_ptr_array_add (notjunk, g_strdup (changed->uid_changed->pdata [i])); } - } - /* reset junk learn flag so that we don't process it again */ - camel_folder_set_message_flags (folder, changed->uid_changed->pdata [i], CAMEL_MESSAGE_JUNK_LEARN, 0); + camel_folder_set_message_flags (folder, changed->uid_changed->pdata [i], CAMEL_MESSAGE_JUNK_LEARN, 0); + } } d(if (junk || notjunk) printf("** Have '%d' messages for junk filter to learn, launching thread to process them\n", (junk ? junk->len : 0) + (notjunk ? notjunk->len : 0))); |