aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
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')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-cal-model-tasks.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9bb98d3be3..4d2dad8d0b 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2008-02-14 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #514987
* gui/e-calendar-table.etspec:
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: