mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
core: rename options *_inactive_line to *_inactive_buffer
This commit is contained in:
@@ -120,7 +120,7 @@ gui_chat_reset_style (struct t_gui_window *window, struct t_gui_line *line)
|
||||
if (line && !(line->data->buffer->active))
|
||||
{
|
||||
gui_window_reset_style (GUI_WINDOW_OBJECTS(window)->win_chat,
|
||||
GUI_COLOR_CHAT_INACTIVE_LINE);
|
||||
GUI_COLOR_CHAT_INACTIVE_BUFFER);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -591,7 +591,7 @@ gui_chat_display_time_to_prefix (struct t_gui_window *window,
|
||||
((!CONFIG_BOOLEAN(config_look_color_inactive_prefix_buffer))
|
||||
|| ((gui_current_window == window) && (line->data->buffer->active))) ?
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER :
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_LINE);
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_BUFFER);
|
||||
}
|
||||
|
||||
if (window->win_chat_cursor_y < window->coords_size)
|
||||
|
||||
@@ -1383,8 +1383,8 @@ gui_color_init_weechat ()
|
||||
gui_color_build (GUI_COLOR_CHAT_PREFIX_BUFFER, CONFIG_COLOR(config_color_chat_prefix_buffer), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_TAGS, CONFIG_COLOR(config_color_chat_tags), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_INACTIVE_WINDOW, CONFIG_COLOR(config_color_chat_inactive_window), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_INACTIVE_LINE, CONFIG_COLOR(config_color_chat_inactive_line), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_LINE, CONFIG_COLOR(config_color_chat_prefix_buffer_inactive_line), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_INACTIVE_BUFFER, CONFIG_COLOR(config_color_chat_inactive_buffer), CONFIG_COLOR(config_color_chat_bg));
|
||||
gui_color_build (GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_BUFFER, CONFIG_COLOR(config_color_chat_prefix_buffer_inactive_buffer), CONFIG_COLOR(config_color_chat_bg));
|
||||
|
||||
/*
|
||||
* define old nick colors for compatibility on /upgrade with previous
|
||||
|
||||
+2
-2
@@ -63,8 +63,8 @@ enum t_gui_color_enum
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER,
|
||||
GUI_COLOR_CHAT_TAGS,
|
||||
GUI_COLOR_CHAT_INACTIVE_WINDOW,
|
||||
GUI_COLOR_CHAT_INACTIVE_LINE,
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_LINE,
|
||||
GUI_COLOR_CHAT_INACTIVE_BUFFER,
|
||||
GUI_COLOR_CHAT_PREFIX_BUFFER_INACTIVE_BUFFER,
|
||||
|
||||
/* number of colors */
|
||||
GUI_COLOR_NUM_COLORS,
|
||||
|
||||
Reference in New Issue
Block a user