summaryrefslogtreecommitdiff
path: root/src/gui/gtk
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-06-09 08:53:50 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-06-09 08:53:50 +0200
commit200652836b817749f69f1058e7387fa92b4edeac (patch)
treef4a04a91d1224ded66d336cf6fdc7e6cc049ff18 /src/gui/gtk
parent2a00de476ed6c90dde94ddc8962b463bbcb81999 (diff)
downloadweechat-200652836b817749f69f1058e7387fa92b4edeac.zip
core: add options to use different color for offline nicks in prefix (patch from Nei) (task #11109)
New options: - weechat.look.color_nick_offline: boolean to enable feature (off by default) - weechat.color.chat_nick_offline: color for offline nicks (displayed in prefix)
Diffstat (limited to 'src/gui/gtk')
-rw-r--r--src/gui/gtk/gui-gtk-chat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gtk/gui-gtk-chat.c b/src/gui/gtk/gui-gtk-chat.c
index e368b69cf..47c48c281 100644
--- a/src/gui/gtk/gui-gtk-chat.c
+++ b/src/gui/gtk/gui-gtk-chat.c
@@ -176,13 +176,15 @@ gui_chat_set_weechat_color (struct t_gui_window *window, int weechat_color)
char *
gui_chat_string_next_char (struct t_gui_window *window, struct t_gui_line *line,
const unsigned char *string, int apply_style,
- int apply_style_inactive)
+ int apply_style_inactive,
+ int nick_offline)
{
/* TODO: write this function for Gtk */
(void) window;
(void) line;
(void) apply_style;
(void) apply_style_inactive;
+ (void) nick_offline;
return (char *)string;
}