Added main.help.header theme option

This commit is contained in:
Frank Zschockelt
2016-10-29 17:27:32 +02:00
parent eac6b52e05
commit c0f099cb84
4 changed files with 14 additions and 11 deletions

View File

@@ -81,6 +81,7 @@ theme_init(const char *const theme_name)
g_hash_table_insert(defaults, strdup("main.text.me"), strdup("white"));
g_hash_table_insert(defaults, strdup("main.text.them"), strdup("white"));
g_hash_table_insert(defaults, strdup("main.splash"), strdup("cyan"));
g_hash_table_insert(defaults, strdup("main.help.header"), strdup("white"));
g_hash_table_insert(defaults, strdup("error"), strdup("red"));
g_hash_table_insert(defaults, strdup("incoming"), strdup("yellow"));
g_hash_table_insert(defaults, strdup("mention"), strdup("yellow"));
@@ -731,6 +732,7 @@ theme_attrs(theme_item_t attrs)
case THEME_TEXT_ME: _theme_prep_fgnd("main.text.me", lookup_str, &bold); break;
case THEME_TEXT_THEM: _theme_prep_fgnd("main.text.them", lookup_str, &bold); break;
case THEME_SPLASH: _theme_prep_fgnd("main.splash", lookup_str, &bold); break;
case THEME_HELP_HEADER: _theme_prep_fgnd("main.help.header", lookup_str, &bold); break;
case THEME_ERROR: _theme_prep_fgnd("error", lookup_str, &bold); break;
case THEME_INCOMING: _theme_prep_fgnd("incoming", lookup_str, &bold); break;
case THEME_MENTION: _theme_prep_fgnd("mention", lookup_str, &bold); break;

View File

@@ -46,6 +46,7 @@ typedef enum {
THEME_TEXT_ME,
THEME_TEXT_THEM,
THEME_SPLASH,
THEME_HELP_HEADER,
THEME_ERROR,
THEME_INCOMING,
THEME_MENTION,