diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-11 11:05:14 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-11 11:05:14 +0800 |
commit | 3f57fb3153629cc51d0ebd97511299ae9005cf09 (patch) | |
tree | dec69eca78937a2c800a1c992de4067d0f10c841 | |
parent | b647384491d353ebe68ae295000efaccd229bf11 (diff) | |
download | gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar.gz gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar.bz2 gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar.lz gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar.xz gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.tar.zst gsoc2013-evolution-3f57fb3153629cc51d0ebd97511299ae9005cf09.zip |
Relying on the status field is somewhat faulty since it is related to
2000-09-10 JP Rosevear <jpr@helixcode.com>
* gui/calendar-model.c (get_is_complete): Relying on the status
field is somewhat faulty since it is related to group scheduling
svn path=/trunk/; revision=5308
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-model.c | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d1fa6081dc..d66b3674f0 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,10 @@ 2000-09-10 JP Rosevear <jpr@helixcode.com> + * gui/calendar-model.c (get_is_complete): Relying on the status + field is somewhat faulty since it is related to group scheduling + +2000-09-10 JP Rosevear <jpr@helixcode.com> + * conduits/todo/todo-conduit.c (update_calendar_entry_in_repository): Make log output a little more sensible (comp_from_remote_record): Minor correction when making a CalComponent diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index 570337aa79..57193f45c9 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -543,16 +543,10 @@ get_has_alarms (CalComponent *comp) static gboolean get_is_complete (CalComponent *comp) { - const char *status; - - cal_component_get_status (comp, &status); - return (status && !strcmp (status, "COMPLETED")); - -#if 0 struct icaltimetype *t; gboolean retval; - /* I don't think this is as reliable, especially at the moment when + /* May not be reliable, especially at the moment when we can't set a Completed Date to None. */ cal_component_get_completed (comp, &t); retval = (t != NULL); @@ -561,7 +555,6 @@ get_is_complete (CalComponent *comp) cal_component_free_icaltimetype (t); return retval; -#endif } /* Returns whether a calendar component is overdue. |