84 { NULL, NULL, 0, -1, -1, NULL }
93 {
"sidebar_component_depth",
DT_NUMBER, 0, 0, NULL,
94 "(sidebar) Strip leading path components from sidebar folders"
96 {
"sidebar_delim_chars",
DT_STRING,
IP "/.", 0, NULL,
97 "(sidebar) Characters that separate nested folders"
99 {
"sidebar_divider_char",
DT_STRING,
IP "\342\224\202", 0, NULL,
100 "(sidebar) Character to draw between the sidebar and index"
102 {
"sidebar_folder_indent",
DT_BOOL,
false, 0, NULL,
103 "(sidebar) Indent nested folders"
106 "(sidebar) printf-like format string for the sidebar panel"
108 {
"sidebar_indent_string",
DT_STRING,
IP " ", 0, NULL,
109 "(sidebar) Indent nested folders using this string"
111 {
"sidebar_new_mail_only",
DT_BOOL,
false, 0, NULL,
112 "(sidebar) Only show folders with new/flagged mail"
114 {
"sidebar_next_new_wrap",
DT_BOOL,
false, 0, NULL,
115 "(sidebar) Wrap around when searching for the next mailbox with new mail"
117 {
"sidebar_non_empty_mailbox_only",
DT_BOOL,
false, 0, NULL,
118 "(sidebar) Only show folders with a non-zero number of mail"
120 {
"sidebar_on_right",
DT_BOOL,
false, 0, NULL,
121 "(sidebar) Display the sidebar on the right"
123 {
"sidebar_short_path",
DT_BOOL,
false, 0, NULL,
124 "(sidebar) Abbreviate the paths using the `$folder` variable"
127 "(sidebar) Method to sort the sidebar"
129 {
"sidebar_visible",
DT_BOOL,
false, 0, NULL,
130 "(sidebar) Show the sidebar"
133 "(sidebar) Width of the sidebar"
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
@ E_TYPE_STRING
Data is a string.
@ E_TYPE_NUMBER
Data is numeric.
@ ED_SIDEBAR
Sidebar ED_SID_ ExpandoDataSidebar.
@ ED_GLOBAL
Global ED_GLO_ ExpandoDataGlobal.
bool config_init_sidebar(struct ConfigSet *cs)
Register sidebar config variables - Implements module_init_config_t -.
struct ExpandoNode * node_padding_parse(const char *str, int did, int uid, ExpandoParserFlags flags, const char **parsed_until, struct ExpandoParseError *err)
Parse a Padding Expando - Implements ExpandoDefinition::parse() -.
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.
Definition of a format string.
Mapping between user-readable string and a constant.
#define D_NOT_EMPTY
Empty strings are not allowed.
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.
@ ED_GLO_PADDING_EOL
Padding to end-of-line.
@ ED_GLO_PADDING_HARD
Hard Padding.
@ ED_GLO_PADDING_SOFT
Soft Padding.