diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-06-09 08:53:50 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-06-09 08:53:50 +0200 |
commit | 200652836b817749f69f1058e7387fa92b4edeac (patch) | |
tree | f4a04a91d1224ded66d336cf6fdc7e6cc049ff18 /src/gui/gtk | |
parent | 2a00de476ed6c90dde94ddc8962b463bbcb81999 (diff) | |
download | weechat-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.c | 4 |
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; } |