diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-02-27 07:54:09 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-02-27 07:54:09 +0000 |
commit | dfad6357498ce8f7c0f051027dec550449c5b143 (patch) | |
tree | cb6609c58e3f955d2878fac16778e53d1b492cf9 | |
parent | 71b2c3dc0b1eb1059374d1a4f50169af73e0f2fa (diff) |
modified the default command line option of spam filters.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2116 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.ja | 6 | ||||
-rw-r--r-- | libsylph/prefs_common.c | 12 | ||||
-rw-r--r-- | src/prefs_common_dialog.c | 8 |
4 files changed, 22 insertions, 10 deletions
@@ -1,3 +1,9 @@ +2008-02-27 + + * libsylph/prefs_common.c + src/prefs_common_dialog.c: modified the default command line option + of spam filters (added undo-contrary option). + 2008-02-25 * src/addr_compl.c: add_address(): fixed crash when name == NULL diff --git a/ChangeLog.ja b/ChangeLog.ja index 3e1fb9a6..8c1bbde3 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,9 @@ +2008-02-27 + + * libsylph/prefs_common.c + src/prefs_common_dialog.c: spam フィルタのデフォルトのコマンド + ラインオプションを変更(逆判定取消オプションを追加)。 + 2008-02-25 * src/addr_compl.c: add_address(): name == NULL の場合(csv の diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c index 5c3103af..be37ba90 100644 --- a/libsylph/prefs_common.c +++ b/libsylph/prefs_common.c @@ -346,16 +346,16 @@ 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", + {"junk_learn_command", "bsfilterw -C -s -u", + &prefs_common.junk_learncmd, P_STRING}, + {"nojunk_learn_command", "bsfilterw -c -S -u", &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", + {"junk_learn_command", "bogofilter -N -s -I", + &prefs_common.junk_learncmd, P_STRING}, + {"nojunk_learn_command", "bogofilter -n -S -I", &prefs_common.nojunk_learncmd, P_STRING}, {"junk_classify_command", "bogofilter -I", &prefs_common.junk_classify_cmd, P_STRING}, diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index 15fcbf18..eeedc28b 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -1833,11 +1833,11 @@ static const struct { gchar *classify_cmd; } junk_presets[] = { #ifdef G_OS_WIN32 - {"bogofilter -s -I", "bogofilter -n -I", "bogofilter -I"}, - {"bsfilterw -su", "bsfilterw -cu", "bsfilterw"} + {"bogofilter -N -s -I", "bogofilter -n -S -I", "bogofilter -I"}, + {"bsfilterw -C -s -u", "bsfilterw -c -S -u", "bsfilterw"} #else - {"bogofilter -s -I", "bogofilter -n -I", "bogofilter -I"}, - {"bsfilter -su", "bsfilter -cu", "bsfilter"} + {"bogofilter -N -s -I", "bogofilter -n -S -I", "bogofilter -I"}, + {"bsfilter -C -s -u", "bsfilter -c -S -u", "bsfilter"} #endif }; |