aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-21 21:54:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-21 21:54:27 +0800
commit0582520db487e10ecaf9fc0acbb7e19a723c05c6 (patch)
tree1841032bffede74c8888ee62ee271b9e01d49d50 /composer
parentab8cff63d28901fee9a2e0efb299638787f33e2f (diff)
downloadgsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar.gz
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar.bz2
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar.lz
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar.xz
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.tar.zst
gsoc2013-evolution-0582520db487e10ecaf9fc0acbb7e19a723c05c6.zip
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.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 8331174f20..605670dfbd 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -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;