aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2005-05-30 16:34:09 +0800
committerHarry Lu <haip@src.gnome.org>2005-05-30 16:34:09 +0800
commit4f64b1167ab2f51c5a534df8244954d0dbde287c (patch)
tree4c9ec20e2ea0e0377efc1b84cdf986f7d22dd34a /calendar/gui/itip-utils.c
parenta6a36259921c512e3a5d8cc46210114026c34b74 (diff)
downloadgsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar.gz
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar.bz2
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar.lz
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar.xz
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.tar.zst
gsoc2013-evolution-4f64b1167ab2f51c5a534df8244954d0dbde287c.zip
check whether backend could handle sending resuests/updates, and if so,
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. svn path=/trunk/; revision=29424
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 5 insertions, 1 deletions
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;
}