diff options
author | Radek Doulik <rodo@ximian.com> | 2004-01-27 22:21:40 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-01-27 22:21:40 +0800 |
commit | 7b045e0bdfe4e094e46ee7535c5f6d553060868f (patch) | |
tree | b3ae3a9ac9c4b4849031f39458d6fdf272148a7a /camel/camel-folder.c | |
parent | ce042b31b62f51282a3e66d1d0725fd5236d9096 (diff) | |
download | gsoc2013-evolution-7b045e0bdfe4e094e46ee7535c5f6d553060868f.tar.gz gsoc2013-evolution-7b045e0bdfe4e094e46ee7535c5f6d553060868f.tar.zst gsoc2013-evolution-7b045e0bdfe4e094e46ee7535c5f6d553060868f.zip |
set CAMEL_FOLDER_SUPRESS_JUNK_TEST flag (imap_update_summary): update
2004-01-27 Radek Doulik <rodo@ximian.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): set
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag
(imap_update_summary): update CAMEL_FOLDER_SUPRESS_JUNK_TEST flag
* camel-folder.c (folder_changed): use
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag instead of check_junk_for_imap
* camel-folder.h (CAMEL_FOLDER_SUPRESS_JUNK_TEST): added new flag
svn path=/trunk/; revision=24463
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r-- | camel/camel-folder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c index c2ff8ef759..3bf6db50a0 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -1648,7 +1648,7 @@ folder_changed (CamelObject *obj, gpointer event_data) CamelSession *session = ((CamelService *)folder->parent_store)->session; CamelFilterDriver *driver = NULL; - if (((folder->folder_flags & CAMEL_FOLDER_FILTER_RECENT) || (camel_session_check_junk (session) && camel_session_check_junk_for_imap (session))) + if (((folder->folder_flags & CAMEL_FOLDER_FILTER_RECENT) || (camel_session_check_junk (session) && !(folder->folder_flags & CAMEL_FOLDER_SUPRESS_JUNK_TEST))) && changed->uid_recent->len > 0) driver = camel_session_get_filter_driver(session, (folder->folder_flags & CAMEL_FOLDER_FILTER_RECENT) ? FILTER_SOURCE_INCOMING : FILTER_SOURCE_JUNKTEST, NULL); |