changeset 18980:1cc1c9b06bbf

propagate from branch 'im.pidgin.pidgin' (head faad7a14fc692e8d3799948d63c004314395738b) to branch 'im.pidgin.soc.2007.certmgr' (head 22f056535f4af435ebc36d0f404015cd102eb08a)
author William Ehlhardt <williamehlhardt@gmail.com>
date Fri, 29 Jun 2007 21:42:39 +0000
parents 7072971dfc44 (current diff) 1cd1e00e059c (diff)
children d68bf68ad499
files
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Fri Jun 29 20:01:33 2007 +0000
+++ b/pidgin/gtkconv.c	Fri Jun 29 21:42:39 2007 +0000
@@ -2406,9 +2406,6 @@
 		return FALSE;
 	}
 
-	gtkconv->auto_resize = TRUE;
-	g_idle_add(reset_auto_resize_cb, gtkconv);
-
 	gdk_pixbuf_animation_iter_advance(gtkconv->u.im->iter, NULL);
 	buf = gdk_pixbuf_animation_iter_get_pixbuf(gtkconv->u.im->iter);
 
@@ -4256,7 +4253,7 @@
 	if (sr.height < height + PIDGIN_HIG_BOX_SPACE) {
 		gtkconv->auto_resize = TRUE;
 		gtkconv->entry_growing = TRUE;
-	        gtk_widget_set_size_request(gtkconv->lower_hbox, -1, height + PIDGIN_HIG_BOX_SPACE);
+	        gtk_widget_set_size_request(gtkconv->entry, -1, height);
 	        g_idle_add(reset_auto_resize_cb, gtkconv);
 	}
 }
--- a/pidgin/gtkutils.c	Fri Jun 29 20:01:33 2007 +0000
+++ b/pidgin/gtkutils.c	Fri Jun 29 21:42:39 2007 +0000
@@ -176,7 +176,7 @@
 
 	sw = gtk_scrolled_window_new(NULL, NULL);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
-								   GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+								   GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
 	gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 0);
 	gtk_widget_show(sw);