diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-26 05:53:21 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-26 05:53:21 +0000 |
commit | 35a95f82fcd7b9969f89610af432e1b05b81635a (patch) | |
tree | 314fa708eb5cacd6d29692a34003654d828de25a /libsylph | |
parent | 3d6d522c1bd157b3a0d3f3c2df549ff886f03828 (diff) |
the visibility of message number columns in the folder view is now configurable for each column.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2356 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/prefs_common.c | 6 | ||||
-rw-r--r-- | libsylph/prefs_common.h | 4 |
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; |