pidgin: 258d2052: This fixes some cases of the 1-px height...

sadrul at pidgin.im sadrul at pidgin.im
Thu Mar 6 20:25:43 EST 2008


-----------------------------------------------------------------
Revision: 258d2052d62513fdcb210736e51ad27be49f17a6
Ancestor: e0f3bbf52dd27647db052ae1e446bac7748f5715
Author: sadrul at pidgin.im
Date: 2008-03-07T01:27:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/258d2052d62513fdcb210736e51ad27be49f17a6

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

This fixes some cases of the 1-px height bug.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	c9dd80f7d1cc0314cf6fbcceccb1d4a08f8238af
+++ pidgin/gtkconv.c	25483b5e36d0036da93930aa2ef90ae85a791e84
@@ -4738,6 +4738,8 @@ setup_common_pane(PidginConversation *gt
 
 	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",
@@ -5014,7 +5016,6 @@ private_gtkconv_new(PurpleConversation *
 		gtk_widget_show(gtkconv->toolbar);
 	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);


More information about the Commits mailing list