[evolution-ews] In case of slow connection or large attachment notify object updated before create attachment



commit aa4e0de5e11bab45c68de0fa7b8be00dd8b0cd24
Author: Shiran Stan-Meleh <shiran stan-meleh intel com>
Date:   Mon Aug 22 15:34:25 2011 +0300

    In case of slow connection or large attachment notify object updated before create attachment

 src/calendar/e-cal-backend-ews.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index d043e23..15d062e 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -2088,6 +2088,8 @@ e_cal_backend_ews_modify_object (ECalBackend *backend, EDataCal *cal, EServerMet
 		attach_data->itemid = itemid;
 		attach_data->changekey = changekey;
 
+		if (context)
+			e_data_cal_notify_object_modified (cal, context, error, NULL, NULL);
 
 		e_ews_connection_create_attachments_start (priv->cnc, EWS_PRIORITY_MEDIUM,
 							   item_id, added_attachments,



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