+2005-03-22 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #73508
+ * backends/groupwise/e-cal-backend-groupwise.c:
+ (e_cal_backend_groupwise_get_static_capabilities):
+ * libecal/e-cal-util.h: Added a new static capability
+ to check and set the partstat as NEEDS ACTION for the
+ organizer.
+ * libecal/e-cal.[ch] (e_cal_get_organizer_must_accept):
+ Added a function to check the static capability.
+
2005-03-12 Chenthill Palanisamy <pchenthill@novell.com>
* backends/groupwise/e-cal-backend-groupwise.c:
CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK "," \
CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR "," \
CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS "," \
+ CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT "," \
CAL_STATIC_CAPABILITY_SAVE_SCHEDULES);
return GNOME_Evolution_Calendar_Success;
#define CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR "no-conv-to-recur"
#define CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS "no-general-options"
#define CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS "require-send-options"
+#define CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT "organizer-must-accept"
/* Recurrent events. Management for instances */
icalcomponent *e_cal_util_construct_instance (icalcomponent *icalcomp,
return check_capability (ecal, CAL_STATIC_CAPABILITY_SAVE_SCHEDULES);
}
+gboolean
+e_cal_get_organizer_must_accept (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_ORGANIZER_MUST_ACCEPT);
+}
+
gboolean
e_cal_set_mode (ECal *ecal, CalMode mode)
{
gboolean e_cal_get_organizer_must_attend (ECal *ecal);
gboolean e_cal_get_save_schedules (ECal *ecal);
gboolean e_cal_get_static_capability (ECal *ecal, const char *cap);
+gboolean e_cal_get_organizer_must_accept (ECal *ecal);
gboolean e_cal_set_mode (ECal *ecal, CalMode mode);