From d46710704af21108c5e38fc793dc1ba5a3f50390 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 26 Aug 2009 12:44:32 -0400 Subject: 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. --- modules/mail/e-mail-shell-content.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/mail/e-mail-shell-content.c') 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; -- cgit