[evolution-patches] patch for #53530



This patch fix the bug of duplicate attachments when redirect a mail.
Evolution version: 1.4.5

	http://bugzilla.ximian.com/show_bug.cgi?id=53530

Comments: When redirect a mail.A new composer was constructed. All
attachments are handled during the construction. So we need't add the
attachments again.I just deleted 2 lines of codes in mail-callbacks.c
Index: mail-callbacks.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/Attic/mail-callbacks.c,v
retrieving revision 1.447.2.4
diff -u -r1.447.2.4 mail-callbacks.c
--- mail-callbacks.c	1 Dec 2003 20:41:02 -0000	1.447.2.4
+++ mail-callbacks.c	29 Jan 2004 11:51:38 -0000
@@ -1632,8 +1632,6 @@
 		CamelDataWrapper *wrapper;
 		
 		wrapper = camel_medium_get_content_object (CAMEL_MEDIUM (message));
-		if (CAMEL_IS_MULTIPART (wrapper))
-			e_msg_composer_add_message_attachments (composer, message, FALSE);
 		
 		gtk_widget_show (GTK_WIDGET (composer));
 		e_msg_composer_unset_changed (composer);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]