aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-content.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-27 00:44:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-27 00:44:32 +0800
commitd46710704af21108c5e38fc793dc1ba5a3f50390 (patch)
tree27451059cb36802bc71f8d3d7d64592f6671e8bc /modules/mail/e-mail-shell-content.c
parentafc0306be8552a10b62a31955ef571fdb19edb10 (diff)
downloadgsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.gz
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.bz2
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.lz
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.xz
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.zst
gsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.zip
Fix resize behavior of main window panes.
Now that I finally understand how the "resize" and "shrink" child properties in GtkPaned work. Was a real brain teaser for some reason.
Diffstat (limited to 'modules/mail/e-mail-shell-content.c')
-rw-r--r--modules/mail/e-mail-shell-content.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index 5f99d744d1..436eaa4dfe 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -448,12 +448,12 @@ mail_shell_content_constructed (GObject *object)
container = widget;
widget = message_list_new (shell_backend);
- gtk_paned_add1 (GTK_PANED (container), widget);
+ gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, FALSE);
priv->message_list = g_object_ref (widget);
gtk_widget_show (widget);
widget = gtk_vbox_new (FALSE, 1);
- gtk_paned_add2 (GTK_PANED (container), widget);
+ gtk_paned_pack2 (GTK_PANED (container), widget, FALSE, FALSE);
gtk_widget_show (widget);
container = widget;