[evolution-data-server] Bug #590762 - Reocurring google calendar items are not changeable



commit 02943b0a267446592308d0fabf856280a7b30a55
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jan 18 22:06:57 2010 +0100

    Bug #590762 - Reocurring google calendar items are not changeable

 calendar/backends/caldav/e-cal-backend-caldav.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index fbc3f33..bf5b8ac 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -3401,6 +3401,11 @@ do_modify_object (ECalBackendCalDAV *cbdav, const gchar *calobj, CalObjModType m
 				cache_comp = icomp;
 			}
 
+			if (cache_comp && priv->is_google) {
+				icalcomponent_set_sequence (cache_comp, icalcomponent_get_sequence (cache_comp) + 1);
+				icalcomponent_set_sequence (new_comp, icalcomponent_get_sequence (new_comp) + 1);
+			}
+
 			/* add the detached instance finally */
 			icalcomponent_add_component (cache_comp, icalcomponent_new_clone (new_comp));
 		} else {



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