diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2008-01-12 04:56:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2008-01-12 04:56:17 +0800 |
commit | 33d3b2f0a08c87d303244ca2fec06e040e295327 (patch) | |
tree | 16fb1d7c525bf96a5a38f14e014459280778c5a7 /widgets | |
parent | c5977a1fef7af4bdd3ed2f878e2fde26565d4bdd (diff) | |
download | gsoc2013-evolution-33d3b2f0a08c87d303244ca2fec06e040e295327.tar.gz gsoc2013-evolution-33d3b2f0a08c87d303244ca2fec06e040e295327.tar.zst gsoc2013-evolution-33d3b2f0a08c87d303244ca2fec06e040e295327.zip |
Patch by Jean-Christophe BEGUE to fix bug #329692.
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.
svn path=/trunk/; revision=34802
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 8 | ||||
-rw-r--r-- | widgets/misc/e-attachment.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 2261a7ba4f..c87ee04d38 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,11 @@ +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. + 2008-01-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #488213 diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index 8aff418feb..911672098d 100644 --- a/widgets/misc/e-attachment.c +++ b/widgets/misc/e-attachment.c @@ -600,7 +600,7 @@ e_attachment_new_from_mime_part (CamelMimePart *part) 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; |