Mercurial > pidgin
diff src/gtkconv.c @ 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 | df1e5075eb0f |
| children | 4d3a61dcb942 |
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); */
