From 3a6b8953fef7c05efd694b922dcb3cbf1f466b16 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 7 Oct 2004 01:32:09 +0000 Subject: put back in the attachment attaching code. Doesn't work for s/mime and 2004-09-28 Not Zed * em-composer-utils.c (forward_non_attached): put back in the attachment attaching code. Doesn't work for s/mime and pgp, but why bother arguing about it. 2004-10-06 Not Zed * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast. * *.c: e-popup api changes. 2004-10-06 Not Zed * em-folder-tree.c (emft_tree_button_press): remove some debug that made it in accidentally. svn path=/trunk/; revision=27487 --- mail/em-composer-utils.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/em-composer-utils.c') diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 20df960507..db5a280991 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -891,7 +891,10 @@ forward_non_attached (GPtrArray *messages, int style, const char *fromuri) if (text) { composer = create_new_composer (subject, fromuri); - + + if (CAMEL_IS_MULTIPART(camel_medium_get_content_object((CamelMedium *)message))) + e_msg_composer_add_message_attachments(composer, message, FALSE); + e_msg_composer_set_body_text (composer, text, len); e_msg_composer_unset_changed (composer); -- cgit v1.2.3