im.pidgin.pidgin: eba941c70407d0a6e17fa2204792caadadeda848

seanegan at pidgin.im seanegan at pidgin.im
Mon Dec 17 20:15:42 EST 2007


-----------------------------------------------------------------
Revision: eba941c70407d0a6e17fa2204792caadadeda848
Ancestor: 3b04d5ecc995b2c4af8919299fcc785383d82ded
Author: seanegan at pidgin.im
Date: 2007-12-18T00:59:59
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	53ea279811f406737f126611ecd77b4a8ce0ee9d
+++ pidgin/gtkconv.c	7e4c353b5323b950a70c987bbf522c63f39aee2d
@@ -4342,8 +4342,8 @@ static gboolean resize_imhtml_cb(PidginC
 
 	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));


More information about the Commits mailing list