Tue, 18 Dec 2007 00:59:59 +0000
I noticed that the new added padding in gtkconv has the same effect as an extra line of text, so I'm removing the MAX(2 bit
| pidgin/gtkconv.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkconv.c Mon Dec 17 12:10:55 2007 +0000 +++ b/pidgin/gtkconv.c Tue Dec 18 00:59:59 2007 +0000 @@ -4342,8 +4342,8 @@ lines = gtk_text_buffer_get_line_count(buffer); - /* Show a maximum of 4 lines, minimum of 2 */ - lines = MIN(MAX(lines, 2), 4); + /* Show a maximum of 4 lines */ + lines = MIN(lines, 4); wrapped_lines = MIN(MAX(wrapped_lines, 2), 4); pad_top = gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(gtkconv->entry));