diff pidgin/gtkconv.c @ 27788:9cd7baa0627e

propagate from branch 'im.pidgin.pidgin' (head 6e57c4c3ef7f3cc9df8b67e8897a30bbe0405817) to branch 'im.pidgin.pidgin.yaz' (head 490506ec23af59278efb862e28035688b8bbadf1)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 08 Mar 2008 14:22:30 +0000
parents 75ec5def57b3 361b2e61a219
children 9f67f9a58564
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Thu Mar 06 15:43:12 2008 +0000
+++ b/pidgin/gtkconv.c	Sat Mar 08 14:22:30 2008 +0000
@@ -4836,6 +4836,8 @@
 
 	g_signal_connect_swapped(G_OBJECT(gtkconv->entry_buffer), "changed",
 				 G_CALLBACK(resize_imhtml_cb), gtkconv);
+	g_signal_connect_swapped(G_OBJECT(gtkconv->entry), "realize",
+				 G_CALLBACK(resize_imhtml_cb), gtkconv);
 
 	default_formatize(gtkconv);
 	g_signal_connect_after(G_OBJECT(gtkconv->entry), "format_function_clear",
@@ -5113,8 +5115,6 @@
 	else
 		gtk_widget_hide(gtkconv->toolbar);
 
-//	g_idle_add((GSourceFunc)resize_imhtml_cb, gtkconv);
-
 	if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/conversations/im/show_buddy_icons"))
 		gtk_widget_show(gtkconv->infopane_hbox);
 	else