1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

Removed "look_color_nicks" option, using "col_nick_color1" if "look_color_nicks_number" is set to 1

This commit is contained in:
Sebastien Helleu
2005-11-29 21:44:50 +00:00
parent 4f1e90f68f
commit 8e696af49a
6 changed files with 2 additions and 18 deletions
-5
View File
@@ -74,7 +74,6 @@ char *cfg_look_charset_encode;
char *cfg_look_charset_internal;
int cfg_look_one_server_buffer;
char *cfg_look_buffer_timestamp;
int cfg_look_color_nicks;
int cfg_look_color_nicks_number;
int cfg_look_color_actions;
int cfg_look_nicklist;
@@ -142,10 +141,6 @@ t_config_option weechat_options_look[] =
N_("timestamp for buffers"),
OPTION_TYPE_STRING, 0, 0, 0,
"[%H:%M:%S]", NULL, NULL, &cfg_look_buffer_timestamp, config_change_buffer_content },
{ "look_color_nicks", N_("display nick names with different colors"),
N_("display nick names with different colors"),
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE,
NULL, NULL, &cfg_look_color_nicks, NULL, config_change_noop },
{ "look_color_nicks_number", N_("number of colors to use for nicks colors"),
N_("number of colors to use for nicks colors"),
OPTION_TYPE_INT, 1, 10, 10,
-1
View File
@@ -89,7 +89,6 @@ extern char *cfg_look_charset_encode;
extern char *cfg_look_charset_internal;
extern int cfg_look_one_server_buffer;
extern char *cfg_look_buffer_timestamp;
extern int cfg_look_color_nicks;
extern int cfg_look_color_nicks_number;
extern int cfg_look_color_actions;
extern int cfg_look_nicklist;
+1 -3
View File
@@ -124,9 +124,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
else
gui_printf_type (buffer, type, "%s%s",
GUI_COLOR((nick && color_nick) ?
((cfg_look_color_nicks) ?
nick->color : COLOR_WIN_CHAT) :
COLOR_WIN_CHAT),
nick->color : COLOR_WIN_CHAT),
(nick) ? nick->nick : nickname);
if (display_around)
-5
View File
@@ -74,7 +74,6 @@ char *cfg_look_charset_encode;
char *cfg_look_charset_internal;
int cfg_look_one_server_buffer;
char *cfg_look_buffer_timestamp;
int cfg_look_color_nicks;
int cfg_look_color_nicks_number;
int cfg_look_color_actions;
int cfg_look_nicklist;
@@ -142,10 +141,6 @@ t_config_option weechat_options_look[] =
N_("timestamp for buffers"),
OPTION_TYPE_STRING, 0, 0, 0,
"[%H:%M:%S]", NULL, NULL, &cfg_look_buffer_timestamp, config_change_buffer_content },
{ "look_color_nicks", N_("display nick names with different colors"),
N_("display nick names with different colors"),
OPTION_TYPE_BOOLEAN, BOOL_FALSE, BOOL_TRUE, BOOL_TRUE,
NULL, NULL, &cfg_look_color_nicks, NULL, config_change_noop },
{ "look_color_nicks_number", N_("number of colors to use for nicks colors"),
N_("number of colors to use for nicks colors"),
OPTION_TYPE_INT, 1, 10, 10,
-1
View File
@@ -89,7 +89,6 @@ extern char *cfg_look_charset_encode;
extern char *cfg_look_charset_internal;
extern int cfg_look_one_server_buffer;
extern char *cfg_look_buffer_timestamp;
extern int cfg_look_color_nicks;
extern int cfg_look_color_nicks_number;
extern int cfg_look_color_actions;
extern int cfg_look_nicklist;
+1 -3
View File
@@ -124,9 +124,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
else
gui_printf_type (buffer, type, "%s%s",
GUI_COLOR((nick && color_nick) ?
((cfg_look_color_nicks) ?
nick->color : COLOR_WIN_CHAT) :
COLOR_WIN_CHAT),
nick->color : COLOR_WIN_CHAT),
(nick) ? nick->nick : nickname);
if (display_around)