evolution r34802 - trunk/widgets/misc



Author: fejj
Date: Fri Jan 11 20:56:17 2008
New Revision: 34802
URL: http://svn.gnome.org/viewvc/evolution?rev=34802&view=rev

Log:
2008-01-11  Jeffrey Stedfast  <fejj novell com>

	Patch by Jean-Christophe BEGUE to fix bug #329692.

	* e-attachment.c (e_attachment_new_from_mime_part): Get the
	content size of the MIME part by calling the new
	camel_mime_part_get_content_size() function.



Modified:
   trunk/widgets/misc/ChangeLog
   trunk/widgets/misc/e-attachment.c

Modified: trunk/widgets/misc/e-attachment.c
==============================================================================
--- trunk/widgets/misc/e-attachment.c	(original)
+++ trunk/widgets/misc/e-attachment.c	Fri Jan 11 20:56:17 2008
@@ -600,7 +600,7 @@
 	new->body = part;
 	new->guessed_type = FALSE;
 	new->is_available_local = TRUE;
-	new->size = 0;
+	new->size = camel_mime_part_get_content_size (part);
 	new->file_name = g_strdup (camel_mime_part_get_filename(part));
 
 	return new;



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