im.pidgin.pidgin: dd6cba65ba8ebf4bfc960ab89cd787ebf378881b
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Mon Dec 3 21:55:39 EST 2007
-----------------------------------------------------------------
Revision: dd6cba65ba8ebf4bfc960ab89cd787ebf378881b
Ancestor: 7ee7b2b21b87af37309e5a92abe0c9f4f8b1e122
Author: nosnilmot at pidgin.im
Date: 2007-12-04T02:45:36
Branch: im.pidgin.pidgin
Modified files:
pidgin/gtkconv.c
ChangeLog:
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?)
-------------- next part --------------
============================================================
--- pidgin/gtkconv.c 55bed5830a8ddf70cf39ad7964fb8f3ec4e5bcb5
+++ pidgin/gtkconv.c b23367013ccda98249f8fec7f80014e9fb4997bf
@@ -4349,7 +4349,7 @@ static gboolean resize_imhtml_cb(PidginC
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;
More information about the Commits
mailing list