59 {
"sidebar_component_depth",
DT_NUMBER, 0, 0, NULL,
60 "(sidebar) Strip leading path components from sidebar folders"
62 {
"sidebar_delim_chars",
DT_STRING,
IP "/.", 0, NULL,
63 "(sidebar) Characters that separate nested folders"
65 {
"sidebar_divider_char",
DT_STRING,
IP "\342\224\202", 0, NULL,
66 "(sidebar) Character to draw between the sidebar and index"
68 {
"sidebar_folder_indent",
DT_BOOL,
false, 0, NULL,
69 "(sidebar) Indent nested folders"
72 "(sidebar) printf-like format string for the sidebar panel"
74 {
"sidebar_indent_string",
DT_STRING,
IP " ", 0, NULL,
75 "(sidebar) Indent nested folders using this string"
77 {
"sidebar_new_mail_only",
DT_BOOL,
false, 0, NULL,
78 "(sidebar) Only show folders with new/flagged mail"
80 {
"sidebar_next_new_wrap",
DT_BOOL,
false, 0, NULL,
81 "(sidebar) Wrap around when searching for the next mailbox with new mail"
83 {
"sidebar_non_empty_mailbox_only",
DT_BOOL,
false, 0, NULL,
84 "(sidebar) Only show folders with a non-zero number of mail"
86 {
"sidebar_on_right",
DT_BOOL,
false, 0, NULL,
87 "(sidebar) Display the sidebar on the right"
89 {
"sidebar_short_path",
DT_BOOL,
false, 0, NULL,
90 "(sidebar) Abbreviate the paths using the `$folder` variable"
93 "(sidebar) Method to sort the sidebar"
95 {
"sidebar_visible",
DT_BOOL,
false, 0, NULL,
96 "(sidebar) Show the sidebar"
99 "(sidebar) Width of the sidebar"
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
bool config_init_sidebar(struct ConfigSet *cs)
Register sidebar config variables - Implements module_init_config_t -.
Convenience wrapper for the library headers.
@ SORT_ORDER
Sort by the order the messages appear in the mailbox.
@ SORT_PATH
Sort by the folder's path.
@ SORT_FLAGGED
Sort by the number of flagged emails.
@ SORT_DESC
Sort by the folder's description.
@ SORT_COUNT
Sort by number of emails in a folder.
@ SORT_UNREAD
Sort by the number of unread emails.
Container for lots of config items.
Mapping between user-readable string and a constant.
#define DT_SORT
sorting methods
#define DT_BOOL
boolean option
#define DT_NOT_EMPTY
Empty strings are not allowed.
#define DT_STRING
a string
#define DT_NO_FLAGS
No flags are set.
#define DT_NOT_NEGATIVE
Negative numbers are not allowed.
#define DT_NUMBER
a number