diff -Nupr eds-1/calendar/ChangeLog eds-2/calendar/ChangeLog
--- eds-1/calendar/ChangeLog	2008-07-11 13:58:03.000000000 +0530
+++ eds-2/calendar/ChangeLog	2008-07-18 16:40:00.000000000 +0530
@@ -1,3 +1,16 @@
+2008-07-18  Suman Manjunath  <msuman@novell.com>
+
+	** Added CAL_STATIC_CAPABILITY_CREATE_MESSAGES
+
+	* libecal/e-cal-util.h:
+	* libecal/e-cal.c (e_cal_get_create_messages): 
+	This static capability determines if a calendar backend can send
+	messages to recipients by itself. It is different from the 
+	CAL_STATIC_CAPABILITY_SAVE_SCHEDULES from the fact that this new
+	capability is processed after the user has been prompted to send an 
+	update. It is useful if the actual object needs some processing 
+	after the messages are sent. 
+
 2008-06-25  Milan Crha  <mcrha@redhat.com>
 
 	** Fix for bug #476640
diff -Nupr eds-1/calendar/libecal/e-cal.c eds-2/calendar/libecal/e-cal.c
--- eds-1/calendar/libecal/e-cal.c	2008-07-11 13:58:03.000000000 +0530
+++ eds-2/calendar/libecal/e-cal.c	2008-07-18 16:40:00.000000000 +0530
@@ -2531,6 +2540,24 @@ e_cal_get_static_capability (ECal *ecal,
 }
 
 /**
+ * e_cal_get_create_messages:
+ * @ecal: A calendar client.
+ *
+ * Checks whether the calendar creates messages.
+ *
+ * Return value: TRUE if calendar creates meeting/task related messages, 
+ * FALSE otherwise.
+ */
+gboolean
+e_cal_get_create_messages (ECal *ecal)
+{
+	g_return_val_if_fail (ecal != NULL, FALSE);
+	g_return_val_if_fail (E_IS_CAL (ecal), FALSE);
+
+	return check_capability (ecal, CAL_STATIC_CAPABILITY_CREATE_MESSAGES);
+}
+
+/**
  * e_cal_get_save_schedules:
  * @ecal: A calendar client.
  *
diff -Nupr eds-1/calendar/libecal/e-cal-util.h eds-2/calendar/libecal/e-cal-util.h
--- eds-1/calendar/libecal/e-cal-util.h	2008-07-11 13:58:03.000000000 +0530
+++ eds-2/calendar/libecal/e-cal-util.h	2008-07-18 16:40:00.000000000 +0530
@@ -115,6 +115,7 @@ gboolean e_cal_util_event_dates_match (i
 #define CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND       "organizer-must-attend"
 #define CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS "organizer-not-email-address"
 #define CAL_STATIC_CAPABILITY_REMOVE_ALARMS               "remove-alarms"
+#define CAL_STATIC_CAPABILITY_CREATE_MESSAGES             "create-messages"
 #define CAL_STATIC_CAPABILITY_SAVE_SCHEDULES              "save-schedules"
 #define CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK	  "no-conv-to-assign-task"
 #define CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR		  "no-conv-to-recur"

