aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja6
-rw-r--r--libsylph/prefs_common.c12
-rw-r--r--src/prefs_common_dialog.c8
4 files changed, 22 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 64933991..5289b7e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
};