summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-04-16 14:44:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-04-16 14:44:02 +0200
commitae98666bc6111d1940d3b14fc4566b262cba2c87 (patch)
tree3bf80e92854c46b8fcef0270cf3df94cad028b6c /src/gui/curses/gui-curses-window.c
parent7489ec9a4041039719334c9d0406e31775132cc7 (diff)
downloadweechat-ae98666bc6111d1940d3b14fc4566b262cba2c87.zip
Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options"
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 38c7f69e6..9a49faa7d 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -843,7 +843,7 @@ gui_window_scroll_topic_left (struct t_gui_window *window)
window->win_title_start -= (window->win_width * 3) / 4;
if (window->win_title_start < 0)
window->win_title_start = 0;
- window->buffer->title_refresh_needed = 1;
+ gui_buffer_ask_title_refresh (window->buffer, 1);
}
/*
@@ -857,7 +857,7 @@ gui_window_scroll_topic_right (struct t_gui_window *window)
return;
window->win_title_start += (window->win_width * 3) / 4;
- window->buffer->title_refresh_needed = 1;
+ gui_buffer_ask_title_refresh (window->buffer, 1);
}
/*
@@ -875,7 +875,7 @@ gui_window_nick_beginning (struct t_gui_window *window)
if (window->win_nick_start > 0)
{
window->win_nick_start = 0;
- window->buffer->nicklist_refresh_needed = 1;
+ gui_buffer_ask_nicklist_refresh (window->buffer, 1);
}
}
}
@@ -904,7 +904,7 @@ gui_window_nick_end (struct t_gui_window *window)
if (new_start != window->win_nick_start)
{
window->win_nick_start = new_start;
- window->buffer->nicklist_refresh_needed = 1;
+ gui_buffer_ask_nicklist_refresh (window->buffer, 1);
}
}
}
@@ -926,7 +926,7 @@ gui_window_nick_page_up (struct t_gui_window *window)
window->win_nick_start -= (window->win_nick_num_max - 1);
if (window->win_nick_start <= 1)
window->win_nick_start = 0;
- window->buffer->nicklist_refresh_needed = 1;
+ gui_buffer_ask_nicklist_refresh (window->buffer, 1);
}
}
}
@@ -951,7 +951,7 @@ gui_window_nick_page_down (struct t_gui_window *window)
window->win_nick_start += (window->win_nick_num_max - 1);
else
window->win_nick_start += (window->win_nick_num_max - 2);
- window->buffer->nicklist_refresh_needed = 1;
+ gui_buffer_ask_nicklist_refresh (window->buffer, 1);
}
}
}