aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r--calendar/gnome-cal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c
index 3558f58347..72a411777c 100644
--- a/calendar/gnome-cal.c
+++ b/calendar/gnome-cal.c
@@ -56,6 +56,9 @@ setup_widgets (GnomeCalendar *gcal)
gcal->year_view = year_view_new (gcal, now);
sw = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
+ GTK_POLICY_NEVER,
+ GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (sw), gcal->year_view);
gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->day_view, gtk_label_new (_("Day View")));