aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-folder.c5
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)));
hr2015-10-283-4/+3 * - Add NO_ARCHamdmi32015-09-161-6/+5 * - Drop @dirrm* from and add empty directories to pkg-plistsamdmi32015-01-281-3/+0 * - Update to 1.9.8gahr2014-09-103-4/+7 * Convert x* to USES=zipbapt2014-03-111-2/+1 * - Update to 1.9.7gahr2013-11-212-20/+20 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2 * Remove trailing whitespaces.ehaupt2011-11-191-1/+1 * Transfer maintainer back to ports@FreeBSD.orgmm2011-08-091-1/+1 * - Add LICENSE informationmm2011-03-231-1/+4 * - Update to 1.9.2mm2010-11-303-47/+17 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * - Change default Tcl/Tk version to 8.5mm2009-02-231-1/+1 * - Add runtime dependency on Tk 84+mm2007-09-221-1/+4 * - Update to 1.8.0miwi2006-12-303-4/+9 * - Add SHA256pav2005-11-261-0/+1 * Update to version 1.7.0krion2004-10-27