aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-06-25 22:52:30 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-06-25 22:52:30 +0800
commit48eec2f48b200d3631637f0cd4890e1204125534 (patch)
treef5b65a003e31112b9e87f59f0e7d28cb46d1f4d0 /calendar/gui/dialogs
parent68fe0f1f1a45d038bdcf01d2cb037f7177f39370 (diff)
downloadgsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar.gz
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar.bz2
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar.lz
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar.xz
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.tar.zst
gsoc2013-evolution-48eec2f48b200d3631637f0cd4890e1204125534.zip
check for save schedules before calling send_comp
svn path=/trunk/; revision=29588
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c3
1 files changed, 1 insertions, 2 deletions
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;