From 48eec2f48b200d3631637f0cd4890e1204125534 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sat, 25 Jun 2005 14:52:30 +0000 Subject: check for save schedules before calling send_comp svn path=/trunk/; revision=29588 --- calendar/gui/dialogs/comp-editor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calendar/gui/dialogs/comp-editor.c') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 3c23663ffc..fda20375dd 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -749,7 +749,7 @@ save_comp_with_send (CompEditor *editor) if (!save_comp (editor)) return FALSE; - if (delegate || (send && send_component_dialog ((GtkWindow *) editor, priv->client, priv->comp, !priv->existing_org))) { + if ((delegate && !e_cal_get_save_schedules (priv->client)) || (send && send_component_dialog ((GtkWindow *) editor, priv->client, priv->comp, !priv->existing_org))) { if (itip_organizer_is_user (priv->comp, priv->client)) return comp_editor_send_comp (editor, E_CAL_COMPONENT_METHOD_REQUEST); else { @@ -1884,7 +1884,6 @@ real_send_comp (CompEditor *editor, ECalComponentItipMethod method) comp_editor_set_changed (editor, TRUE); #endif - save_comp (editor); g_object_unref (send_comp); return TRUE; -- cgit v1.2.3