diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index d0de1012c2..f8a2b87ab9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,7 +1,13 @@ 2007-01-08 Wang Xin <jedy.wang@sun.com> + + Fixes #389966 + * gui/e-cal-model-tasks.c: (set_status): + Do not create the status property if its pointing to None. + +2007-01-08 Wang Xin <jedy.wang@sun.com> Fixes #389961 - * gui/e-cal-model.c:(e_cal_model_set_instance_times): + * gui/e-cal-model.c: (e_cal_model_set_instance_times): Check if the item is a event before processing the end time. 2006-12-04 Matthew Barnes <mbarnes@redhat.com> diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index 75cb23b175..863ab224f6 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -654,7 +654,7 @@ set_status (ECalModelComponent *comp_data, const char *value) /* an empty string is the same as 'None' */ if (!value[0] || !e_util_utf8_strcasecmp (value, _("None"))) - status = ICAL_STATUS_NONE; + return; else if (!e_util_utf8_strcasecmp (value, _("Not Started"))) status = ICAL_STATUS_NEEDSACTION; else if (!e_util_utf8_strcasecmp (value, _("In Progress"))) |