From f80a80204ac285df2e5e53da1de999ce67926e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 12 Jul 2014 08:13:58 +0200 Subject: core: add option weechat.color.status_nicklist_count (closes #109, closes #110) --- src/core/wee-config.c | 7 +++++++ src/core/wee-config.h | 1 + 2 files changed, 8 insertions(+) (limited to 'src/core') diff --git a/src/core/wee-config.c b/src/core/wee-config.c index a7d0eb8ec..eb02347bb 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -230,6 +230,7 @@ struct t_config_option *config_color_status_data_private; struct t_config_option *config_color_status_filter; struct t_config_option *config_color_status_name; struct t_config_option *config_color_status_name_ssl; +struct t_config_option *config_color_status_nicklist_count; struct t_config_option *config_color_status_number; struct t_config_option *config_color_status_more; struct t_config_option *config_color_status_time; @@ -3105,6 +3106,12 @@ config_weechat_init_options () "secured with a protocol like SSL"), NULL, -1, 0, "lightgreen", NULL, 0, NULL, NULL, &config_change_color, NULL, NULL, NULL); + config_color_status_nicklist_count = config_file_new_option ( + weechat_config_file, ptr_section, + "status_nicklist_count", "color", + N_("text color for number of nicks in nicklist (status bar)"), + NULL, -1, 0, "default", NULL, 0, + NULL, NULL, &config_change_color, NULL, NULL, NULL); config_color_status_number = config_file_new_option ( weechat_config_file, ptr_section, "status_number", "color", diff --git a/src/core/wee-config.h b/src/core/wee-config.h index f6db4466d..3ec2b72b1 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -265,6 +265,7 @@ extern struct t_config_option *config_color_status_data_private; extern struct t_config_option *config_color_status_filter; extern struct t_config_option *config_color_status_name; extern struct t_config_option *config_color_status_name_ssl; +extern struct t_config_option *config_color_status_nicklist_count; extern struct t_config_option *config_color_status_number; extern struct t_config_option *config_color_status_more; extern struct t_config_option *config_color_status_time; -- cgit v1.2.3