aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-folder-cache.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f16d1d6f1a..ebb38b242a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-13 Radek Doulik <rodo@ximian.com>
+
+ * mail-folder-cache.c (folder_changed): don't call
+ CAMEL_IS_VJUNK_FOLDER, it was added by mistake
+
2003-11-13 Not Zed <NotZed@Ximian.com>
* em-format-html.c (em_format_html_add_pobject): use malloc0 for
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index a75ed046e9..05b006b777 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -469,7 +469,7 @@ folder_changed (CamelObject *o, gpointer event_data, gpointer user_data)
if (mfi->folder != folder)
return;
- if (!CAMEL_IS_VTRASH_FOLDER (folder) && !CAMEL_IS_VJUNK_FOLDER (folder) && folder != outbox_folder && folder != sent_folder && changes && changes->uid_added)
+ if (!CAMEL_IS_VTRASH_FOLDER (folder) && folder != outbox_folder && folder != sent_folder && changes && changes->uid_added)
new = changes->uid_added->len;
LOCK(info_lock);