diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-24 09:21:25 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-24 09:21:25 +0100 |
commit | 64fdbb07765fb98b6b5fd39ab087e80bfcee9394 (patch) | |
tree | 11a2a56702e4f7969215824a5edb9816d5fff6b3 /src/core/wee-config.c | |
parent | 2e52e54a3afa953e12e1e009b19a66202f0674a6 (diff) | |
download | weechat-64fdbb07765fb98b6b5fd39ab087e80bfcee9394.zip |
Fix option weechat.look.color_nicks_number, value is now immediately applied on nicks by IRC plugin
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r-- | src/core/wee-config.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 83f60dfca..5ca9c97b6 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -322,37 +322,6 @@ config_change_color (void *data, struct t_config_option *option) } /* - * config_change_nicks_colors: called when number of nicks color changed - */ - -void -config_change_nicks_colors (void *data, struct t_config_option *option) -{ - /* make C compiler happy */ - (void) data; - (void) option; - - /* TODO: change nicks colors */ - /* - struct t_gui_buffer *ptr_buffer; - struct t_gui_nick *ptr_nick; - - for (ptr_buffer = gui_buffers; ptr_buffer; - ptr_buffer = ptr_buffer->next_buffer) - { - if (ptr_buffer->nicks) - { - for (ptr_nick = ptr_buffer->nicks; ptr_nick; - ptr_nick = ptr_nick->next_nick) - { - gui_nick_find_color (ptr_nick); - } - } - } - */ -} - -/* * config_day_change_timer_cb: timer callback for displaying * "Day changed to xxx" message */ @@ -1099,7 +1068,7 @@ config_weechat_init () weechat_config_file, ptr_section, "color_nicks_number", "integer", N_("number of colors to use for nicks colors"), - NULL, 1, 10, "10", NULL, NULL, NULL, &config_change_nicks_colors, NULL, NULL, NULL); + NULL, 1, 10, "10", NULL, NULL, NULL, NULL, NULL, NULL, NULL); config_look_color_real_white = config_file_new_option ( weechat_config_file, ptr_section, "color_real_white", "boolean", |