Mercurial > pidgin
changeset 21748:e9a7bd891880
Set the entry area size to N+1 lines where where there are N lines of text
already, I like this about a billion times more than what we have at the
moment. What do others think? Does it kill the experience for minimalistic
folks? (Sean?)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 04 Dec 2007 02:45:36 +0000 |
parents | d376b1e191b5 |
children | 866e139a79ef |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Mon Dec 03 16:38:38 2007 +0000 +++ b/pidgin/gtkconv.c Tue Dec 04 02:45:36 2007 +0000 @@ -4349,7 +4349,7 @@ pad_bottom = gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(gtkconv->entry)); pad_inside = gtk_text_view_get_pixels_inside_wrap(GTK_TEXT_VIEW(gtkconv->entry)); - height = (oneline.height + pad_top + pad_bottom) * lines; + height = (oneline.height + pad_top + pad_bottom) * (lines + 1); height += (oneline.height + pad_inside) * (wrapped_lines - lines); gtkconv->auto_resize = TRUE;