summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-03 17:18:25 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-03 17:18:25 +0200
commitdfaa43ff172c481d5e078b6189cb20b829e6f553 (patch)
tree82ebc7cd6ead4b3039c177f425fc56aae97e8cb7 /src/gui
parent01ae24ed082e45482fd57b11d45269a17a37557c (diff)
downloadweechat-dfaa43ff172c481d5e078b6189cb20b829e6f553.zip
Add color for marker on lines where text sought is found
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-chat.c2
-rw-r--r--src/gui/curses/gui-curses-color.c1
-rw-r--r--src/gui/gui-color.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index 9459c8e47..fad732ea9 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -918,7 +918,7 @@ gui_chat_display_line (struct t_gui_window *window, struct t_gui_line *line,
window->buffer->text_search_exact))
{
gui_window_set_weechat_color (GUI_CURSES(window)->win_chat,
- GUI_COLOR_CHAT_READ_MARKER);
+ GUI_COLOR_CHAT_TEXT_FOUND);
mvwprintw (GUI_CURSES(window)->win_chat,
read_marker_y, read_marker_x,
"*");
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c
index 3af277813..e0ace0a4f 100644
--- a/src/gui/curses/gui-curses-color.c
+++ b/src/gui/curses/gui-curses-color.c
@@ -382,6 +382,7 @@ gui_color_init_weechat ()
gui_color_build (GUI_COLOR_CHAT_DELIMITERS, CONFIG_COLOR(config_color_chat_delimiters), CONFIG_COLOR(config_color_chat_bg));
gui_color_build (GUI_COLOR_CHAT_HIGHLIGHT, CONFIG_COLOR(config_color_chat_highlight), CONFIG_COLOR(config_color_chat_highlight_bg));
gui_color_build (GUI_COLOR_CHAT_READ_MARKER, CONFIG_COLOR(config_color_chat_read_marker), CONFIG_COLOR(config_color_chat_read_marker_bg));
+ gui_color_build (GUI_COLOR_CHAT_TEXT_FOUND, CONFIG_COLOR(config_color_chat_text_found), CONFIG_COLOR(config_color_chat_text_found_bg));
gui_color_build (GUI_COLOR_STATUS, CONFIG_COLOR(config_color_status), CONFIG_COLOR(config_color_status_bg));
gui_color_build (GUI_COLOR_STATUS_DELIMITERS, CONFIG_COLOR(config_color_status_delimiters), CONFIG_COLOR(config_color_status_bg));
diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h
index 0bffe5df0..54f3d12f7 100644
--- a/src/gui/gui-color.h
+++ b/src/gui/gui-color.h
@@ -58,6 +58,7 @@ enum t_gui_color_enum
GUI_COLOR_CHAT_DELIMITERS,
GUI_COLOR_CHAT_HIGHLIGHT,
GUI_COLOR_CHAT_READ_MARKER,
+ GUI_COLOR_CHAT_TEXT_FOUND,
GUI_COLOR_STATUS,
GUI_COLOR_STATUS_DELIMITERS,