aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-04-27 16:47:46 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-04-27 16:47:46 +0800
commite83142e20922bcfd6d7b6c9ced55753d661dd39c (patch)
tree5f1b838cd41a5887ad84ba3abb1b6d78505647f4 /modules
parentbefb1a4499c86fcbd7864d648c95cf0a87e0d2ff (diff)
downloadgsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar.gz
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar.bz2
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar.lz
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar.xz
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.tar.zst
gsoc2013-evolution-e83142e20922bcfd6d7b6c9ced55753d661dd39c.zip
Handle the side pane's date navigator size. Set a minimum size of 150px
and make sure it doesn't get smaller than that. Also pick the pane position from the right place.
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index eb28868ce6..a00ade73df 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -476,7 +476,7 @@ cal_shell_sidebar_restore_state_cb (EShellWindow *shell_window,
bridge = gconf_bridge_get ();
object = G_OBJECT (priv->paned);
- key = "/apps/evolution/calendar/display/date_navigator_vpane_position";
+ key = "/apps/evolution/calendar/display/date_navigator_pane_position";
gconf_bridge_bind_property_delayed (bridge, key, object, "vposition");
}
@@ -624,7 +624,8 @@ 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_pack2 (GTK_PANED (container), widget, FALSE, TRUE);
+ gtk_paned_pack2 (GTK_PANED (container), widget, FALSE, FALSE);
+ gtk_widget_set_size_request (widget, -1, 200);
priv->date_navigator = g_object_ref (widget);
gtk_widget_show (widget);