pidgin.next.minor: 63276bab: Increment display_lines here so that, fo...
markdoliner at pidgin.im
markdoliner at pidgin.im
Wed Jan 28 05:15:40 EST 2009
-----------------------------------------------------------------
Revision: 63276bab81a2c17485ab5f6770c059685d5121a3
Ancestor: 8dcb1856f19ee4cabc48d5689451d81fe796c70a
Author: markdoliner at pidgin.im
Date: 2009-01-28T10:06:56
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/63276bab81a2c17485ab5f6770c059685d5121a3
Modified files:
pidgin/gtkstatusbox.c
ChangeLog:
Increment display_lines here so that, for fonts where pixels_inside_wrap()
set a value greater than 0, it won't cause a few extra pixels to be
added to the height when the user starts typing
-------------- next part --------------
============================================================
--- pidgin/gtkstatusbox.c fe77be83a17aad5e490ac8ecd37a753f8095c844
+++ pidgin/gtkstatusbox.c 8d91afa31e6a41412efe78b3f6aa09973b24422f
@@ -2568,6 +2568,7 @@ static void update_size(PidginStatusBox
{
gtk_text_view_get_iter_location(GTK_TEXT_VIEW(status_box->imhtml), &iter, &oneline);
height += oneline.height;
+ display_lines++;
}
lines = gtk_text_buffer_get_line_count(buffer);
More information about the Commits
mailing list