diff options
author | James Booth <boothj5@gmail.com> | 2016-02-10 23:03:23 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-02-10 23:03:23 +0000 |
commit | 2f82f50a352ebdbe34c1712156766e0476e19e6c (patch) | |
tree | 33da0ccfd1e4e9abbec5fd5274fae686e9ab8329 /src/config | |
parent | 71679a3159037c353656b19e3b36ab303714bc15 (diff) | |
download | profani-tty-2f82f50a352ebdbe34c1712156766e0476e19e6c.tar.gz |
Added roommention.term theme option
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/theme.c | 2 | ||||
-rw-r--r-- | src/config/theme.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/config/theme.c b/src/config/theme.c index c8e466d5..414bf2b4 100644 --- a/src/config/theme.c +++ b/src/config/theme.c @@ -107,6 +107,7 @@ theme_init(const char *const theme_name) g_hash_table_insert(defaults, strdup("receipt.sent"), strdup("red")); g_hash_table_insert(defaults, strdup("roominfo"), strdup("yellow")); g_hash_table_insert(defaults, strdup("roommention"), strdup("yellow")); + g_hash_table_insert(defaults, strdup("roommention.term"), strdup("yellow")); g_hash_table_insert(defaults, strdup("roomtrigger"), strdup("yellow")); g_hash_table_insert(defaults, strdup("online"), strdup("green")); g_hash_table_insert(defaults, strdup("offline"), strdup("red")); @@ -751,6 +752,7 @@ theme_attrs(theme_item_t attrs) case THEME_RECEIPT_SENT: _theme_prep_fgnd("receipt.sent", lookup_str, &bold); break; case THEME_ROOMINFO: _theme_prep_fgnd("roominfo", lookup_str, &bold); break; case THEME_ROOMMENTION: _theme_prep_fgnd("roommention", lookup_str, &bold); break; + case THEME_ROOMMENTION_TERM: _theme_prep_fgnd("roommention.term", lookup_str, &bold); break; case THEME_ROOMTRIGGER: _theme_prep_fgnd("roomtrigger", lookup_str, &bold); break; case THEME_ONLINE: _theme_prep_fgnd("online", lookup_str, &bold); break; case THEME_OFFLINE: _theme_prep_fgnd("offline", lookup_str, &bold); break; diff --git a/src/config/theme.h b/src/config/theme.h index 4ec74510..a90fa360 100644 --- a/src/config/theme.h +++ b/src/config/theme.h @@ -70,6 +70,7 @@ typedef enum { THEME_THEM, THEME_ROOMINFO, THEME_ROOMMENTION, + THEME_ROOMMENTION_TERM, THEME_ROOMTRIGGER, THEME_ONLINE, THEME_OFFLINE, |