From 4d075f28b587361a5014edd4946f30d9ae113e9f Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 24 Aug 1998 19:59:25 +0000 Subject: Changed the Properties menu item to Preferences. These are global 1998-08-24 Federico Mena Quintero * main.c: Changed the Properties menu item to Preferences. These are global application preferences, not a single calendar's properties. * prop.c (prop_apply): Save the week_starts_on_monday flag to the configuration file. (properties): Added a check button for weeks starting on Monday. (properties): Beautified the Preferences dialog. * month-view.c (month_view_init): * goto.c (create_days): Set the month item to start weeks on Monday if appropriate. * main.c (init_calendar): A boolean is not an hour, so don't range_check_hour() on it. (init_calendar): Added a global week_starts_on_monday flag. * main.h: Added global week_starts_on_monday flag. svn path=/trunk/; revision=336 --- calendar/month-view.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/month-view.c') diff --git a/calendar/month-view.c b/calendar/month-view.c index a23938b350..de6b89db2b 100644 --- a/calendar/month-view.c +++ b/calendar/month-view.c @@ -7,6 +7,7 @@ #include #include "month-view.h" +#include "main.h" static void month_view_class_init (MonthViewClass *class); @@ -65,9 +66,7 @@ month_view_init (MonthView *mv) "y", 0.0, "anchor", GTK_ANCHOR_NW, "day_anchor", GTK_ANCHOR_NE, -#if 0 - "start_on_monday", TRUE, -#endif + "start_on_monday", week_starts_on_monday, NULL); } -- cgit