diff options
author | Clifford R. Conover <rconover@montana.edu> | 1999-03-11 10:58:18 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-03-11 10:58:18 +0800 |
commit | 9adbbaf76fe141c5a5051999f37a9ee9a005153e (patch) | |
tree | 90ae3d6ec9f3abf76de8f9e3caf047f136fa95ea /calendar/gui/gnome-cal.c | |
parent | 20bba8a8f67d1e347d00748b03908f948c2be6b7 (diff) | |
download | gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.gz gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.bz2 gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.lz gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.xz gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.tar.zst gsoc2013-evolution-9adbbaf76fe141c5a5051999f37a9ee9a005153e.zip |
Add support for Due Date when adding a TODO item here. (column_resized):
1999-03-10 Clifford R. Conover <rconover@montana.edu>
* 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
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 5b59cb379c..f589d0fe28 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/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)); +} + + |