diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-07-25 02:01:05 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-07-25 02:01:05 +0000 |
commit | 7b3e30a658ce8fdc8c1080cee450579734d5b81a (patch) | |
tree | 071bd84aced8f3dc93b5614ee0dc75b221e6cc30 /libsylph | |
parent | e80b60f834edd13192bee986183f3bb8eb45ed20 (diff) |
added an option to filter junk mails before normal filtering.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1097 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 2 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 5c4bfca5..ead1bd23 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -291,6 +291,8 @@ static PrefParam param[] = { {"junk_folder", NULL, &prefs_common.junk_folder, P_STRING}, {"filter_junk_on_receive", "FALSE", &prefs_common.filter_junk_on_recv, P_BOOL}, + {"filter_junk_before", "FALSE", &prefs_common.filter_junk_before, + P_BOOL}, {"delete_junk_on_receive", "TRUE", &prefs_common.delete_junk_on_recv, P_BOOL}, {"mark_junk_as_read", "FALSE", &prefs_common.mark_junk_as_read, P_BOOL}, diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h index 6f12e877..4abe2da6 100644 --- a/libsylph/prefs_common.h +++ b/libsylph/prefs_common.h @@ -213,6 +213,7 @@ struct _PrefsCommon gchar *junk_classify_cmd; gchar *junk_folder; gboolean filter_junk_on_recv; + gboolean filter_junk_before; gboolean delete_junk_on_recv; gboolean mark_junk_as_read; |