aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-08-09 03:47:45 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-08-09 03:47:45 +0800
commita599d0dd765ac86cf0f1f069b19f15a8179b9c05 (patch)
tree1fffef60ed9521b7d426ee434697229e04bfc7c7 /calendar/gui/dialogs/comp-editor.c
parenta2726b7dc3a10c8660fc8377334c2a9f279387a8 (diff)
downloadgsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar.gz
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar.bz2
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar.lz
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar.xz
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.tar.zst
gsoc2013-evolution-a599d0dd765ac86cf0f1f069b19f15a8179b9c05.zip
check for an attendee in the list (comp_to_list): only add the user if
2002-08-08 JP Rosevear <jpr@ximian.com> * gui/itip-utils.c (users_has_attendee): check for an attendee in the list (comp_to_list): only add the user if they aren't on the list (comp_server_send): don't remove the users, pass back the list (itip_send_comp): send to server before doing comp_minimal * gui/dialogs/comp-editor.c (real_send_comp): edit and save the updated comp * pcs/cal.c (impl_Cal_send_object): copy the correct item to pass back svn path=/trunk/; revision=17747
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 44e7f80c20..2322b3bb69 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -954,13 +954,20 @@ static void
real_send_comp (CompEditor *editor, CalComponentItipMethod method)
{
CompEditorPrivate *priv;
-
+ CalComponent *tmp_comp;
+
g_return_if_fail (editor != NULL);
g_return_if_fail (IS_COMP_EDITOR (editor));
priv = editor->priv;
itip_send_comp (method, priv->comp, priv->client, NULL);
+
+ tmp_comp = priv->comp;
+ gtk_object_ref (GTK_OBJECT (tmp_comp));
+ comp_editor_edit_comp (editor, tmp_comp);
+ gtk_object_unref (GTK_OBJECT (tmp_comp));
+ save_comp (editor);
}