aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.h
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-03-13 02:26:01 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-03-13 02:26:01 +0800
commite38174d76c6aad5d3f177c2a7e2ff2611941df9a (patch)
tree1974efc81dad43b8751fb53d315c3375b61260b9 /camel/camel-folder-summary.h
parentf8a7bfbc7faeb73d888def7e25b39e9f2e558ff4 (diff)
downloadgsoc2013-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 'camel/camel-folder-summary.h')
-rw-r--r--camel/camel-folder-summary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h
index 78c3c439fa..d7ed505a1a 100644
--- a/camel/camel-folder-summary.h
+++ b/camel/camel-folder-summary.h
@@ -70,6 +70,9 @@ enum _CamelMessageFlags {
/* following flags are for the folder, and are not really permanent flags */
CAMEL_MESSAGE_FOLDER_FLAGGED = 1<<16, /* for use by the folder implementation */
+ CAMEL_MESSAGE_JUNK_LEARN = 1<<17, /* used when setting CAMEL_MESSAGE_JUNK flag
+ to say that we request junk plugin
+ to learn that message as junk/non junk */
CAMEL_MESSAGE_USER = 1<<31 /* supports user flags */
};