aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-08-10 06:07:39 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-08-10 06:07:39 +0800
commit40467ea4760b57b7ef98de51de17768e7661fad6 (patch)
treee1725cf18b4daf23b7868cfdcbdb82c26c11183a
parent7c6d0371da1d14cc9c62640559d7c2afbd4fcfa9 (diff)
downloadgsoc2013-evolution-40467ea4760b57b7ef98de51de17768e7661fad6.tar.gz
gsoc2013-evolution-40467ea4760b57b7ef98de51de17768e7661fad6.tar.zst
gsoc2013-evolution-40467ea4760b57b7ef98de51de17768e7661fad6.zip
Added the x property for delegation.
svn path=/trunk/; revision=30057
-rw-r--r--calendar/gui/dialogs/comp-editor.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 159beb0240..c73c072135 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -810,7 +810,16 @@ save_comp_with_send (CompEditor *editor)
send = priv->changed && priv->needs_send;
delegate = priv->flags & COMP_EDITOR_DELEGATE;
-
+
+ if (delegate) {
+ icalcomponent *icalcomp = e_cal_component_get_icalcomponent (priv->comp);
+ icalproperty *icalprop;
+
+ icalprop = icalproperty_new_x ("1");
+ icalproperty_set_x_name (icalprop, "X-EVOLUTION-DELEGATED");
+ icalcomponent_add_property (icalcomp, icalprop);
+ }
+
if (!save_comp (editor))
return FALSE;