aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;