diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-06-25 22:52:30 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-06-25 22:52:30 +0800 |
commit | 48eec2f48b200d3631637f0cd4890e1204125534 (patch) | |
tree | f5b65a003e31112b9e87f59f0e7d28cb46d1f4d0 /calendar | |
parent | 68fe0f1f1a45d038bdcf01d2cb037f7177f39370 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 5dda2f835e..4af33ba760 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-06-25 Chenthill Palanisamy <pchenthill@novell.com> + + * gui/dialogs/comp-editor.c: + (real_send_comp): check save schedules before sending + the comp through send_comp. + 2005-06-23 Chenthill Palanisamy <pchenthill@novell.com> * gui/dialogs/event-page.c: (sensitize_widgets): 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; |