diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 20e3407aae..08c53993af 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-05-30 Harry Lu <harry.lu@sun.com> + + * gui/itip-utils.c: (itip_send_comp): check whether backend could + handle sending resuests/updates, and if so, just return. + 2005-05-24 Chenthill Palanisamy <pchenthill@novell.com> Fixes #272114 diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 9cbdc6a438..fa76efe579 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -895,11 +895,15 @@ itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp, char *ical_string; CORBA_Environment ev; gboolean retval = FALSE; + + /* check whether backend could handle sending resuests/updates */ + if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_get_save_schedules (client)) + return TRUE; CORBA_exception_init (&ev); /* Give the server a chance to manipulate the comp */ - if (method != E_CAL_COMPONENT_METHOD_PUBLISH && !e_cal_get_save_schedules (client)) { + if (method != E_CAL_COMPONENT_METHOD_PUBLISH) { if (!comp_server_send (method, send_comp, client, zones, &users)) goto cleanup; } |