aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-07 09:32:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-07 09:32:09 +0800
commit3a6b8953fef7c05efd694b922dcb3cbf1f466b16 (patch)
treeb2820f9033ff2f7d5923434c7169f0537c8d00d6 /mail/em-composer-utils.c
parentadf099914c4a3e52c6eb32fff5a2205c47062c9a (diff)
downloadgsoc2013-evolution-3a6b8953fef7c05efd694b922dcb3cbf1f466b16.tar.gz
gsoc2013-evolution-3a6b8953fef7c05efd694b922dcb3cbf1f466b16.tar.zst
gsoc2013-evolution-3a6b8953fef7c05efd694b922dcb3cbf1f466b16.zip
put back in the attachment attaching code. Doesn't work for s/mime and
2004-09-28 Not Zed <NotZed@Ximian.com> * 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 <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast. * *.c: e-popup api changes. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): remove some debug that made it in accidentally. svn path=/trunk/; revision=27487
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c5
1 files changed, 4 insertions, 1 deletions
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);