aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1999-02-05 01:36:04 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-02-05 01:36:04 +0800
commitcaf215883e225dcc3a4f0d244dab0a61dfdf6ae8 (patch)
treed74ca114fb73885c5662feb5d9bdbff03c7cbe0e /calendar/gui/gnome-cal.c
parent23e6445f8ba8f0173ac2c0f5e65985f0ffa9e2c2 (diff)
downloadgsoc2013-evolution-caf215883e225dcc3a4f0d244dab0a61dfdf6ae8.tar.gz
gsoc2013-evolution-caf215883e225dcc3a4f0d244dab0a61dfdf6ae8.tar.zst
gsoc2013-evolution-caf215883e225dcc3a4f0d244dab0a61dfdf6ae8.zip
Make the calendar start weeks on Monday if appropriate.
1999-02-03 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.c (gncal_week_view_new): Make the calendar start weeks on Monday if appropriate. (gncal_week_view_time_format_changed): New function to notify the week view that the time format has changed. * gncal-day-panel.c (gncal_day_panel_new): Make the calendar start weeks on Monday if appropriate. (gncal_day_panel_time_format_changed): New function to notify the day panel that the time format has changed. * gnome-cal.c (gnome_calendar_time_format_changed): Tell the day and week views that the time format has changed. svn path=/trunk/; revision=643
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 51cda3472f..5b59cb379c 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -465,7 +465,9 @@ gnome_calendar_time_format_changed (GnomeCalendar *gcal)
/* FIXME: the queue resizes will do until we rewrite those views... */
+ gncal_day_panel_time_format_changed (GNCAL_DAY_PANEL (gcal->day_view));
gtk_widget_queue_resize (gcal->day_view);
+ gncal_week_view_time_format_changed (GNCAL_WEEK_VIEW (gcal->week_view));
gtk_widget_queue_resize (gcal->week_view);
month_view_time_format_changed (MONTH_VIEW (gcal->month_view));
year_view_time_format_changed (YEAR_VIEW (gcal->year_view));