aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-tasks.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-02-15 02:38:16 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-02-15 02:38:16 +0800
commitbd88f5cfa6c36c4c2f8831973401e684afbe1205 (patch)
tree7c9eb11525098b44ffd80f192a336bd682aca8db /calendar/gui/e-cal-model-tasks.c
parentdafcf05cc318e3beae037ba2092eff2b9eb36d4d (diff)
downloadgsoc2013-evolution-bd88f5cfa6c36c4c2f8831973401e684afbe1205.tar.gz
gsoc2013-evolution-bd88f5cfa6c36c4c2f8831973401e684afbe1205.tar.zst
gsoc2013-evolution-bd88f5cfa6c36c4c2f8831973401e684afbe1205.zip
** Fix for bug #516453
2008-02-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #516453 * gui/e-cal-model-tasks.c: (set_status): Change Not Started status back to Canceled when Canceled requested. svn path=/trunk/; revision=35014
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r--calendar/gui/e-cal-model-tasks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c
index 05b97374bb..7619c4fb0c 100644
--- a/calendar/gui/e-cal-model-tasks.c
+++ b/calendar/gui/e-cal-model-tasks.c
@@ -699,6 +699,8 @@ set_status (ECalModelComponent *comp_data, const char *value)
case ICAL_STATUS_CANCELLED:
ensure_task_not_complete (comp_data);
+ /* do this again, because the previous function changed status to NEEDSACTION */
+ icalproperty_set_status (prop, status);
break;
case ICAL_STATUS_COMPLETED: