diff options
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 3bd4c0300c..16f09e21c1 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +2001-10-30 JP Rosevear <jpr@ximian.com> + + * gui/itip-utils.c (itip_send_comp): set a body for the message + 2001-10-30 Dan Winship <danw@ximian.com> * gui/itip-utils.c (itip_send_comp): call 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) |