diff options
author | Radek Doulik <rodo@ximian.com> | 2004-03-13 02:26:01 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-03-13 02:26:01 +0800 |
commit | e38174d76c6aad5d3f177c2a7e2ff2611941df9a (patch) | |
tree | 1974efc81dad43b8751fb53d315c3375b61260b9 /mail/mail-ops.h | |
parent | f8a7bfbc7faeb73d888def7e25b39e9f2e558ff4 (diff) | |
download | gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar.gz gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar.bz2 gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar.lz gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar.xz gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.tar.zst gsoc2013-evolution-e38174d76c6aad5d3f177c2a7e2ff2611941df9a.zip |
watch for setting JUNK flag, if JUNK_LEARN is not set as well then reset
2004-03-11 Radek Doulik <rodo@ximian.com>
* camel-folder.c (camel_folder_set_message_flags): watch for
setting JUNK flag, if JUNK_LEARN is not set as well then reset
JUNK_LEARN bit
(folder_changed): look for junk changes in uid_changed's messages,
if these changes request junk filter learning
(CAMEL_MESSAGE_JUNK_LEARN bit set) then prepare junk and nonjunk
uid arrays, clear CAMEL_MESSAGE_JUNK_LEARN bit so that we don't
process it again
(folder_changed): start filter thread if there's junk and/or
nonjunk arrays
(filter_filter): if junk/nonjunk arrays are non-NULL, call junk
filter report to learn junk/non-junk messages
(filter_free): free junk/nonjunk uids and arrays
* camel-folder-summary.h: added CAMEL_MESSAGE_JUNK_LEARN to
CamelMessageFlags, used when setting CAMEL_MESSAGE_JUNK flag to
say that we request junk plugin to learn that message as
junk/non-junk
svn path=/trunk/; revision=25045
Diffstat (limited to 'mail/mail-ops.h')
0 files changed, 0 insertions, 0 deletions