aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-31 08:55:46 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-31 08:55:46 +0800
commit3600b50b469192419065c7597acc96e9493c28e8 (patch)
tree11333471eaa243b5d8ebd1148ac18d3c255eb404 /calendar/gui/itip-utils.c
parent940e7c277c9fa229482469b3c3da099437c48795 (diff)
downloadgsoc2013-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
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)