# HG changeset patch # User Stu Tomlinson # Date 1196736336 0 # Node ID e9a7bd8918805395946c940c9cd24e38dcada077 # Parent d376b1e191b5f29a55550dd7bdab1647a096281c 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?) diff -r d376b1e191b5 -r e9a7bd891880 pidgin/gtkconv.c --- 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;