[evolution/kill-bonobo] More panel resizing goodness.



commit 8818c5e3334a6f2f16571b31a715cd9e0e1aa38a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Aug 26 12:53:32 2009 -0400

    More panel resizing goodness.

 modules/calendar/e-cal-shell-content.c |    4 ++--
 modules/calendar/e-cal-shell-sidebar.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index 6b1e857..408f07f 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -394,7 +394,7 @@ cal_shell_content_constructed (GObject *object)
 	container = priv->vpaned;
 
 	widget = gtk_vbox_new (FALSE, 0);
-	gtk_paned_pack1 (GTK_PANED (container), widget, FALSE, FALSE);
+	gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE);
 	gtk_widget_show (widget);
 
 	container = widget;
@@ -422,7 +422,7 @@ cal_shell_content_constructed (GObject *object)
 	container = priv->vpaned;
 
 	widget = gtk_vbox_new (FALSE, 0);
-	gtk_paned_pack2 (GTK_PANED (container), widget, TRUE, FALSE);
+	gtk_paned_pack2 (GTK_PANED (container), widget, TRUE, TRUE);
 	gtk_widget_show (widget);
 
 	container = widget;
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index f8f6aca..c25b247 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -414,7 +414,7 @@ cal_shell_sidebar_constructed (GObject *object)
 		GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
 	gtk_scrolled_window_set_shadow_type (
 		GTK_SCROLLED_WINDOW (widget), GTK_SHADOW_IN);
-	gtk_paned_add1 (GTK_PANED (container), widget);
+	gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE);
 	gtk_widget_show (widget);
 
 	container = widget;
@@ -433,7 +433,7 @@ cal_shell_sidebar_constructed (GObject *object)
 	calitem = E_CALENDAR (widget)->calitem;
 	e_calendar_item_set_days_start_week_sel (calitem, 9);
 	e_calendar_item_set_max_days_sel (calitem, 42);
-	gtk_paned_add2 (GTK_PANED (container), widget);
+	gtk_paned_pack2 (GTK_PANED (container), widget, FALSE, TRUE);
 	priv->date_navigator = g_object_ref (widget);
 	gtk_widget_show (widget);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]