aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index c955425dd5..daf559dc17 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -673,7 +673,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp)
GNOME_Evolution_Composer_RecipientList *to_list = NULL;
GNOME_Evolution_Composer_RecipientList *cc_list = NULL;
GNOME_Evolution_Composer_RecipientList *bcc_list = NULL;
- CORBA_char *subject = NULL, *content_type = NULL;
+ CORBA_char *subject = NULL, *body = NULL, *content_type = NULL;
CORBA_char *filename = NULL, *description = NULL;
GNOME_Evolution_Composer_AttachmentData *attach_data = NULL;
CORBA_boolean show_inline;
@@ -716,6 +716,10 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp)
goto cleanup;
}
+ /* Plain text body */
+ body = comp_description (comp);
+ GNOME_Evolution_Composer_setBodyText (composer_server, body, &ev);
+
/* Content type, suggested file name, description */
content_type = comp_content_type (method);
filename = comp_filename (comp);
@@ -764,6 +768,8 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp)
if (subject != NULL)
CORBA_free (subject);
+ if (body != NULL)
+ CORBA_free (body);
if (content_type != NULL)
CORBA_free (content_type);
if (filename != NULL)