aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/prefs_common.c6
-rw-r--r--libsylph/prefs_common.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 815584aa..83982c8d 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -117,6 +117,12 @@ static PrefParam param[] = {
&prefs_common.display_folder_unread, P_BOOL},
{"display_folder_num_columns", "FALSE",
&prefs_common.display_folder_num_columns, P_BOOL},
+ {"folder_col_show_new", "FALSE",
+ &prefs_common.folder_col_visible[1], P_BOOL},
+ {"folder_col_show_unread", "FALSE",
+ &prefs_common.folder_col_visible[2], P_BOOL},
+ {"folder_col_show_total", "FALSE",
+ &prefs_common.folder_col_visible[3], P_BOOL},
{"newsgroup_abbrev_len", "16", &prefs_common.ng_abbrev_len, P_INT},
diff --git a/libsylph/prefs_common.h b/libsylph/prefs_common.h
index 09dadb16..cd3c1e54 100644
--- a/libsylph/prefs_common.h
+++ b/libsylph/prefs_common.h
@@ -308,6 +308,10 @@ struct _PrefsCommon
/* Online / Offline */
gboolean online_mode;
+
+ /* Append new members here */
+ /* Display */
+ gboolean folder_col_visible[4];
};
extern PrefsCommon prefs_common;