summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-01-25 20:54:22 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-01-25 20:54:22 +0000
commit7debba0eca70d31a6649022ec948acbac5f879f4 (patch)
tree1b24c7aea3198d46a927f8aecd86d8da89e3b05e /src/gui/curses
parenta0255a0a3a2ac750e9536e16721c710a5275d62d (diff)
downloadweechat-7debba0eca70d31a6649022ec948acbac5f879f4.zip
Added away indicator
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index 2659c673b..3cdba098b 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -929,6 +929,8 @@ gui_draw_buffer_status (t_gui_buffer *buffer, int erase)
gui_window_set_color (ptr_win->win_status,
COLOR_WIN_STATUS);
wprintw (ptr_win->win_status, "%s", SERVER(ptr_win->buffer)->name);
+ if (SERVER(ptr_win->buffer)->is_away)
+ wprintw (ptr_win->win_status, _("(away)"));
gui_window_set_color (ptr_win->win_status,
COLOR_WIN_STATUS_DELIMITERS);
wprintw (ptr_win->win_status, "] ");