Commit ab8cff63 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

EMailBrowser: Fix packing of preview pane.

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 0e0060e6
......@@ -672,7 +672,10 @@ mail_browser_constructed (GObject *object)
gtk_widget_get_style_context (widget),
gtk_container_add (GTK_CONTAINER (container), browser->priv->preview_pane);
gtk_box_pack_start (
GTK_BOX (container),
/* Bind GObject properties to GSettings keys. */
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