aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-memo-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/calendar/e-memo-shell-content.c
parentafc0306be8552a10b62a31955ef571fdb19edb10 (diff)
downloadgsoc2013-evolution-d46710704af21108c5e38fc793dc1ba5a3f50390.tar.gz
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/calendar/e-memo-shell-content.c')
-rw-r--r--modules/calendar/e-memo-shell-content.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c
index 3a7ee78718..7c7b84f3fb 100644
--- a/modules/calendar/e-memo-shell-content.c
+++ b/modules/calendar/e-memo-shell-content.c
@@ -393,7 +393,7 @@ memo_shell_content_constructed (GObject *object)
container = widget;
widget = e_memo_table_new (shell_view, priv->memo_model);
- gtk_paned_add1 (GTK_PANED (container), widget);
+ gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, FALSE);
priv->memo_table = g_object_ref (widget);
gtk_widget_show (widget);
@@ -403,7 +403,7 @@ memo_shell_content_constructed (GObject *object)
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (
GTK_SCROLLED_WINDOW (widget), GTK_SHADOW_IN);
- gtk_paned_add2 (GTK_PANED (container), widget);
+ gtk_paned_pack2 (GTK_PANED (container), widget, FALSE, FALSE);
gtk_widget_show (widget);
container = widget;