diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-31 08:55:46 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-31 08:55:46 +0800 |
commit | 3600b50b469192419065c7597acc96e9493c28e8 (patch) | |
tree | 11333471eaa243b5d8ebd1148ac18d3c255eb404 | |
parent | 940e7c277c9fa229482469b3c3da099437c48795 (diff) | |
download | gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar.gz gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar.bz2 gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar.lz gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar.xz gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.tar.zst gsoc2013-evolution-3600b50b469192419065c7597acc96e9493c28e8.zip |
set a body for the message
2001-10-30 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (itip_send_comp): set a body for the message
svn path=/trunk/; revision=14514
-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) |