[evolution-ews] Fix update task item, enable to check completed task as not completed



commit 08a4e8af6a9f5138d0a9538c7fb80fb53e509e58
Author: Pavel Ocheretny <pocheretny src gnome org>
Date:   Sun Jul 17 22:01:23 2011 +0300

    Fix update task item, enable to check completed task as not completed

 src/calendar/e-cal-backend-ews.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 026a181..b67a473 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1785,6 +1785,10 @@ convert_vtodo_component_to_updatexml (ESoapMessage *msg, gpointer user_data)
 		case ICAL_STATUS_COMPLETED:
 			convert_vtodo_property_to_updatexml (msg, "Status", "Completed", "task", NULL, NULL);
 			break;
+		case ICAL_STATUS_NONE:
+		case ICAL_STATUS_NEEDSACTION:
+			convert_vtodo_property_to_updatexml (msg, "Status", "NotStarted", "task", NULL, NULL);
+			break;
 		default:
 			break;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]