diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-08-25 03:59:25 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-08-25 03:59:25 +0800 |
commit | 4d075f28b587361a5014edd4946f30d9ae113e9f (patch) | |
tree | c73583c453f4981d652e010f2c620e2997934e4f /calendar/gui/main.h | |
parent | abdba7c651a0a04809c8a8a20c72188fbd62d2b9 (diff) | |
download | gsoc2013-evolution-4d075f28b587361a5014edd4946f30d9ae113e9f.tar.gz gsoc2013-evolution-4d075f28b587361a5014edd4946f30d9ae113e9f.tar.zst gsoc2013-evolution-4d075f28b587361a5014edd4946f30d9ae113e9f.zip |
Changed the Properties menu item to Preferences. These are global
1998-08-24 Federico Mena Quintero <federico@nuclecu.unam.mx>
* 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
Diffstat (limited to 'calendar/gui/main.h')
-rw-r--r-- | calendar/gui/main.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/calendar/gui/main.h b/calendar/gui/main.h index 374f8199e6..6f22f946f9 100644 --- a/calendar/gui/main.h +++ b/calendar/gui/main.h @@ -1,12 +1,22 @@ #ifndef MAIN_H #define MAIN_H +/* Global preferences */ + extern int day_begin, day_end; extern char *user_name; extern int am_pm_flag; +extern int week_starts_on_monday; +/* Creates and runs the preferences dialog box */ void properties (void); -void day_range_changed (void); + +/* Asks for all the time-related displays to be updated when the user changes the time format + * preferences. + */ +void time_format_changed (void); + +/* Creates and runs the Go-to date dialog */ void goto_dialog (GnomeCalendar *gcal); #endif |