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/gnome-cal.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'calendar/gnome-cal.c') diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 67061dd505..e3f1250687 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -17,7 +17,6 @@ #include "gncal-year-view.h" #include "month-view.h" #include "timeutil.h" -#include "views.h" #include "main.h" GnomeApp *parent_class; @@ -54,13 +53,11 @@ setup_widgets (GnomeCalendar *gcal) gcal->week_view = gncal_week_view_new (gcal, now); gcal->month_view = month_view_new (gcal); gcal->year_view = gncal_year_view_new (gcal, now); - gcal->task_view = tasks_create (gcal); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->day_view, gtk_label_new (_("Day View"))); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->week_view, gtk_label_new (_("Week View"))); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->month_view, gtk_label_new (_("Month View"))); gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->year_view, gtk_label_new (_("Year View"))); -/* gtk_notebook_append_page (GTK_NOTEBOOK (gcal->notebook), gcal->task_view, gtk_label_new (_("Todo"))); */ gtk_widget_show_all (gcal->notebook); -- cgit