diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-04 07:16:05 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-04 07:16:05 +0000 |
commit | 0bc96105b64744bb3d786c65c6736aa0df5cbf40 (patch) | |
tree | debaee52e8bfa47a6c1c4589e5cdba62cd455f88 /libsylph/prefs_common.c | |
parent | de0ef006b2bcae3fbddf0ee549cf96497a25ad9f (diff) |
added preset menu for junk learning commands.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@713 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r-- | libsylph/prefs_common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index a2b83d0e..c8a4f1c8 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -259,12 +259,21 @@ static PrefParam param[] = { /* Junk mail */ {"enable_junk", "FALSE", &prefs_common.enable_junk, P_BOOL}, +#ifdef G_OS_WIN32 + {"junk_learn_command", "bsfilterw -su", &prefs_common.junk_learncmd, + P_STRING}, + {"nojunk_learn_command", "bsfilterw -cu", + &prefs_common.nojunk_learncmd, P_STRING}, + {"junk_classify_command", "bsfilterw", + &prefs_common.junk_classify_cmd, P_STRING}, +#else {"junk_learn_command", "bogofilter -s -I", &prefs_common.junk_learncmd, P_STRING}, {"nojunk_learn_command", "bogofilter -n -I", &prefs_common.nojunk_learncmd, P_STRING}, {"junk_classify_command", "bogofilter -I", &prefs_common.junk_classify_cmd, P_STRING}, +#endif {"junk_folder", NULL, &prefs_common.junk_folder, P_STRING}, {"filter_junk_on_receive", "FALSE", &prefs_common.filter_junk_on_recv, P_BOOL}, |