aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c2
-rw-r--r--libsylph/prefs_common.h1
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;