aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1999-05-26 03:28:28 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-05-26 03:28:28 +0800
commitede0790b5c953edf0a14dae1f75fa449d5c3286a (patch)
treec5ef3edf8a66a07a441bd7888fc4e955a8464c67 /calendar/gui/gnome-cal.c
parentc150a409d44428073347bf5da033d0290cda4d4d (diff)
downloadgsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.gz
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.bz2
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.lz
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.xz
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.zst
gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.zip
Set the canvas scroll region here, not in size_allocate(). Also, use the
1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Set the canvas scroll region here, not in size_allocate(). Also, use the correct width and height based on the allocation and the precomputed minimum width/height values. * gnome-cal.c (setup_widgets): Set the scrollbar policy of the scrolled window. * main.c (setup_appbar): Use the correct type for the appbar. * gncal-day-view.c: Removed unused function switch_to_day(). * gncal-day-panel.c (calendar_day_selected): Removed unused variable. 1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx> * configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT. svn path=/trunk/; revision=939
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 3558f58347..72a411777c 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/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")));