From 9adbbaf76fe141c5a5051999f37a9ee9a005153e Mon Sep 17 00:00:00 2001 From: "Clifford R. Conover" Date: Thu, 11 Mar 1999 02:58:18 +0000 Subject: Add support for Due Date when adding a TODO item here. (column_resized): 1999-03-10 Clifford R. Conover * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757 --- calendar/gnome-cal.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'calendar/gnome-cal.c') diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 5b59cb379c..f589d0fe28 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -483,4 +483,20 @@ gnome_calendar_colors_changed (GnomeCalendar *gcal) month_view_colors_changed (MONTH_VIEW (gcal->month_view)); year_view_colors_changed (YEAR_VIEW (gcal->year_view)); + todo_style_changed = 1; + todo_list_properties_changed (GNCAL_DAY_PANEL (gcal->day_view)); } + +void +gnome_calendar_todo_properties_changed (GnomeCalendar *gcal) +{ + g_return_if_fail (gcal != NULL); + g_return_if_fail (GNOME_IS_CALENDAR (gcal)); + + /* FIXME: add day and week view when they are done */ + + todo_style_changed = 1; + todo_list_properties_changed (GNCAL_DAY_PANEL (gcal->day_view)); +} + + -- cgit v1.2.3