From 0bc96105b64744bb3d786c65c6736aa0df5cbf40 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 4 Nov 2005 07:16:05 +0000 Subject: added preset menu for junk learning commands. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@713 ee746299-78ed-0310-b773-934348b2243d --- libsylph/prefs_common.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libsylph/prefs_common.c') 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}, -- cgit v1.2.3