Re: Bug 329692 – attachment size in composer not shown when reopening

Srinivasa Ragavan <[email protected]> Sat, 12 Jan 2008 03:03:05 +0530
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Jean,

Thanks for your patch. Fejj has already committed your patch (camel
patch, slightly modified) to trunk. 

-Srini.

On Fri, 2008-01-11 at 10:39 +0100, Jean-Christophe BEGUE wrote:
> Hello,
> 
> This bug implies both evolution and evolution-data-server. I added a
> function called 
> camel_mime_part_get_content_size () to
> evolution-data-server/camel/mime-part.c and 
> used it in evolution/widget/misc/attachment.c.
> 
> There's still a problem: the size displayed is bigger than the real
> file size because 
> camel_data_wrapper_decode_to_stream () (used with an null stream to
> get the size) returns
> size of encoded data. How could i fix it? 
> 
> This is my first patch, I hope i did everything right.(Please tell me
> what i did wrong.)
> 
> Sorry for my english.
> 
> Regards,
> 
> Jean-Christophe BEGUE 
> _______________________________________________
> Evolution-patches mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/evolution-patches