about summary refs log tree commit diff stats
path: root/src/config/theme.c
diff options
context:
space:
mode:
authorFrank Zschockelt <gith12@freakysoft.de>2016-10-29 17:27:32 +0200
committerFrank Zschockelt <gith12@freakysoft.de>2016-10-29 18:19:12 +0200
commitc0f099cb84e8903750f0ef79670d3cc368dd4c30 (patch)
tree5ef78ab6db6f0641d24eca0f04856886c3639429 /src/config/theme.c
parenteac6b52e05c3d2c5c705b1f8c5a58f36358133df (diff)
downloadprofani-tty-c0f099cb84e8903750f0ef79670d3cc368dd4c30.tar.gz
Added main.help.header theme option
Diffstat (limited to 'src/config/theme.c')
-rw-r--r--src/config/theme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c
index 44c9c3ff..3cd50d6e 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -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;