summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-10 08:44:19 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-10 08:44:19 +0000
commit7c21fb84ee6b5f29e71d9704b9c7c3f2d411b17d (patch)
treecbec2e49f38a57180de8907c00059d0a26683d0a /src/fe-common
parent5ab27ea604d7b02a9ce7003b04d86256658ced41 (diff)
downloadirssi-7c21fb84ee6b5f29e71d9704b9c7c3f2d411b17d.zip
/SET hilight_act_color - default color to use for highlighting in
activity line git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1203 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/hilight-text.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 52fcb056..102db2bb 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -301,8 +301,10 @@ char *hilight_get_color(HILIGHT_REC *rec, int activity)
color = activity && rec->act_color != NULL ?
rec->act_color : rec->color;
- if (color == NULL)
- color = settings_get_str("hilight_color");
+ if (color == NULL) {
+ color = settings_get_str(activity ? "hilight_act_color" :
+ "hilight_color");
+ }
if (isalpha((int) *color)) {
/* color was specified with it's name - try to convert it */
@@ -711,6 +713,7 @@ static void read_settings(void)
void hilight_text_init(void)
{
settings_add_str("lookandfeel", "hilight_color", "8");
+ settings_add_str("lookandfeel", "hilight_act_color", "13");
settings_add_str("lookandfeel", "hilight_level", "PUBLIC DCCMSGS");
next_nick_hilight = NULL;