changeset 9876:d6cf01e43b86

[gaim-migrate @ 10755] this seems even more hackish, but it works committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 25 Aug 2004 23:45:16 +0000
parents 943e272c502a
children 062fa333ec1f
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Aug 25 23:24:11 2004 +0000
+++ b/src/gtkconv.c	Wed Aug 25 23:45:16 2004 +0000
@@ -5754,7 +5754,8 @@
 		g_object_unref(G_OBJECT(bm));
 
 	button_type = gaim_prefs_get_int("/gaim/gtk/conversations/button_type");
-	gtk_widget_size_request(gtkconv->bbox, &requisition);
+	/* the button seems to get its size before the box, so... */
+	gtk_widget_size_request(gtkconv->send, &requisition);
 	if (button_type == GAIM_BUTTON_NONE || requisition.height * 1.5 < scale_height) {
 		gtk_box_pack_start(GTK_BOX(gtkconv->lower_hbox), vbox, FALSE, FALSE, 0);
 /*		gtk_box_reorder_child(GTK_BOX(gtkconv->lower_hbox), vbox, 0); */