diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-01 18:22:26 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-01 18:22:26 +0100 |
commit | 9222a7b109bf5c20ac60466cfc293dc462989bdf (patch) | |
tree | e9ddc3fb3cdc238083e1252deafb7f928b837192 /src/gui/gtk/gui-gtk-window.c | |
parent | cdbffe40da5f4fb23494b0464eea74ad1619a82b (diff) | |
download | weechat-9222a7b109bf5c20ac60466cfc293dc462989bdf.zip |
Added group support for nicklist, fixed some bugs in plugins API and IRC plugin
Added group support for nicklist (with subgroups).
Partial changes in IRC protocol functions (new arguments with argv and argv_eol).
Fixed some bugs:
- nicklist in plugins API
- problem in main loop with select() when SIGWINCH is received (terminal resize)
- bug in string explode function
- bug in infobar countdown.
Diffstat (limited to 'src/gui/gtk/gui-gtk-window.c')
-rw-r--r-- | src/gui/gtk/gui-gtk-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gtk/gui-gtk-window.c b/src/gui/gtk/gui-gtk-window.c index bbb11c326..f757b8896 100644 --- a/src/gui/gtk/gui-gtk-window.c +++ b/src/gui/gtk/gui-gtk-window.c @@ -451,7 +451,7 @@ gui_window_nick_end (struct t_gui_window *window) if (window->buffer->nicklist) { new_start = - window->buffer->nicks_count - window->win_nick_height; + window->buffer->nicklist_visible_count - window->win_nick_height; if (new_start < 0) new_start = 0; else if (new_start >= 1) @@ -499,9 +499,9 @@ gui_window_nick_page_down (struct t_gui_window *window) if (window->buffer->nicklist) { - if ((window->buffer->nicks_count > window->win_nick_height) + if ((window->buffer->nicklist_visible_count > window->win_nick_height) && (window->win_nick_start + window->win_nick_height - 1 - < window->buffer->nicks_count)) + < window->buffer->nicklist_visible_count)) { if (window->win_nick_start == 0) window->win_nick_start += (window->win_nick_height - 1); |