evolution r35751 - in branches/EXCHANGE_MAPI_BRANCH/calendar: . gui



Author: msuman
Date: Fri Jul 18 11:03:58 2008
New Revision: 35751
URL: http://svn.gnome.org/viewvc/evolution?rev=35751&view=rev

Log:
Use the new CAL_STATIC_CAPABILITY_CREATE_MESSAGES.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/calendar/ChangeLog
   branches/EXCHANGE_MAPI_BRANCH/calendar/gui/itip-utils.c

Modified: branches/EXCHANGE_MAPI_BRANCH/calendar/gui/itip-utils.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/calendar/gui/itip-utils.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/calendar/gui/itip-utils.c	Fri Jul 18 11:03:58 2008
@@ -1147,7 +1147,7 @@
 	gchar *subject;
 	gboolean retval = FALSE;
 
-	/* check whether backend could handle sending requests/updates */
+	/* check whether backend could handle auto-saving requests/updates */
 	if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_get_save_schedules (client))
 		return TRUE;
 
@@ -1157,6 +1157,15 @@
 			goto cleanup;
 	}
 
+	/* check whether backend could handle sending requests/updates */
+	if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_get_create_messages (client)) {
+		if (users) {
+			g_list_foreach (users, (GFunc) g_free, NULL);
+			g_list_free (users);
+		}
+		return TRUE;
+	}
+
 	/* Tidy up the comp */
 	comp = comp_compliant (method, send_comp, client, zones);
 



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