aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-10-11 04:37:13 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-10-11 04:37:13 +0800
commitf33633d773fe244f012090224e695c6109382a44 (patch)
tree9333fdb17b9e343faf11393c1f3d3c190967d2a0 /mail
parentfee8a6f66d94161fbf7cd2d181c5021ea6be6d7f (diff)
downloadgsoc2013-evolution-f33633d773fe244f012090224e695c6109382a44.tar.gz
gsoc2013-evolution-f33633d773fe244f012090224e695c6109382a44.tar.zst
gsoc2013-evolution-f33633d773fe244f012090224e695c6109382a44.zip
use new function to copy the attachments from the source message. This
2001-10-10 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (mail_generate_reply): use new function to copy the attachments from the source message. This still isn't perfect but it should avoid the problems with headers being transfered. This makes images in replies work again. svn path=/trunk/; revision=13564
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c22dc62018..abbe894f2f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-10-10 Larry Ewing <lewing@ximian.com>
+ * mail-callbacks.c (mail_generate_reply): use new function to copy
+ the attachments from the source message. This still isn't perfect
+ but it should avoid the problems with headers being transfered.
+ This makes images in replies work again.
+
* mail-display.c (save_url): copy the data. We can't ref the byte
array and we can't free it so we have to copy it.
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 0efbae40a5..4507156f3c 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -840,6 +840,8 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
const int max_subject_length = 1024;
composer = e_msg_composer_new ();
+ e_msg_composer_add_message_attachments (composer, message);
+
if (!composer)
return NULL;