summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-07-12 08:13:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-07-12 08:13:58 +0200
commitf80a80204ac285df2e5e53da1de999ce67926e38 (patch)
treedc46df2aa76146df50d1120ac3f03df69c9a0585 /src/core
parentb168a4307052861165b61374b20e11ef0a35ce65 (diff)
downloadweechat-f80a80204ac285df2e5e53da1de999ce67926e38.zip
core: add option weechat.color.status_nicklist_count (closes #109, closes #110)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config.c7
-rw-r--r--src/core/wee-config.h1
2 files changed, 8 insertions, 0 deletions
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;