[evolution-ews] Force refresh after removing an occurrence of a reccuring meeting



commit 230de613c73bc9a09e63ab8ed3044fe50e5ef8cc
Author: Or Goshen <orx goshen intel com>
Date:   Sun Jul 10 12:29:44 2011 +0300

    Force refresh after removing an occurrence of a reccuring meeting

 src/calendar/e-cal-backend-ews.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index c35128f..aa944d2 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -885,9 +885,10 @@ ews_cal_remove_object_cb (GObject *object, GAsyncResult *res, gpointer user_data
 			error->code = OtherError;
 	}
 
-	if (remove_data->context)
+	if (remove_data->context) {
+		if (!error && remove_data->index != 0) ews_start_sync (remove_data->cbews);
 		e_data_cal_notify_remove (remove_data->cal, remove_data->context, error);
-	else if (error) {
+	} else if (error) {
 		g_warning ("Remove object error :  %s\n", error->message);
 		g_clear_error (&error);
 	}



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