Commit 0582520d authored by Matthew Barnes's avatar Matthew Barnes
Browse files

EMsgComposer: Fix packing of content area.

Using gtk_box_new() instead of gtk_vbox_new() changes the way child
widgets are packed by default via gtk_container_add().  gtk_vbox_new()
expands them by default, gtk_box_new() does not, and the preview pane
was being packed with gtk_container_add().

Packing widgets into a GtkBox with gtk_container_add() is usually the
wrong way.  Use gtk_box_pack_start() instead, with expand=TRUE.
parent ab8cff63
......@@ -367,7 +367,7 @@ e_composer_private_constructed (EMsgComposer *composer)
E_ATTACHMENT_PANED (priv->attachment_paned));
widget = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
container = widget;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment