evolution r35975 - in branches/EXCHANGE_MAPI_BRANCH/calendar: . gui/dialogs



Author: msuman
Date: Wed Aug 13 06:21:57 2008
New Revision: 35975
URL: http://svn.gnome.org/viewvc/evolution?rev=35975&view=rev

Log:
Don't replace attachment list if backend can CREATE_MESSAGES.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/calendar/ChangeLog
   branches/EXCHANGE_MAPI_BRANCH/calendar/gui/dialogs/comp-editor.c

Modified: branches/EXCHANGE_MAPI_BRANCH/calendar/gui/dialogs/comp-editor.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/calendar/gui/dialogs/comp-editor.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/calendar/gui/dialogs/comp-editor.c	Wed Aug 13 06:21:57 2008
@@ -2646,7 +2646,8 @@
 			set_attendees_for_delegation (send_comp, address, method);
 	}
 
-	if (!e_cal_component_has_attachments (priv->comp)) {
+	if (!e_cal_component_has_attachments (priv->comp) 
+	|| e_cal_get_static_capability (priv->client, CAL_STATIC_CAPABILITY_CREATE_MESSAGES)) {
 		if (itip_send_comp (method, send_comp, priv->client,
 					NULL, NULL, users)) {
 			g_object_unref (send_comp);



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