diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-07 04:10:02 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-07 04:10:02 +0800 |
commit | e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60 (patch) | |
tree | 0a967cdf3e1ccf771ce74f4336238452d023d956 /doc | |
parent | 3f7f2d2f2e9d344dd102d245aed8e0af2a102f47 (diff) | |
download | gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar.gz gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar.bz2 gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar.lz gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar.xz gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.tar.zst gsoc2013-evolution-e243f47a722dcbabbc1e82fa2cfeb8d4edcc0f60.zip |
Fix a bunch of replying/forwarding-related formatting bugs.
2749 - Message text not included in reply, but html attachment is
4294 - "forward inline" should quote the same headers as the
normal mail display
6100 - Reply to a forwarded email displays email headers
7255 - Replying to HTML message
7527 - replying to forwarded message w/ attachments does the wrong
thing
* mail-format.c (mail_get_message_rfc822): New function to get
message headers and body together, for inline forwards, or replies
containing attached messages.
(mail_get_message_body): Redo this to always return HTML, but keep
the "want_plain" flag, to decide whether to return HTML that looks
like HTML or HTML that looks like plain text. Use
mail_get_message_rfc822 to handle attached message/rfc822 parts.
Don't include the text of vcard or icalendar attachments. Don't
fail to include text parts just because we found an HTML part.
(Since we're always returning HTML now, this doesn't cause
problems any more.)
* mail-tools.c (mail_tool_quote_message): Simplify greatly.
mail_get_message_body always returns HTML now, and we let it take
care of prepending "> "s too. We then let GtkHTML deal with
converting the HTML to plain text if the user wants to reply in
plain text.
(mail_tool_forward_message): Simplify this a ton too: parts of it
are moved into mail_get_message_rfc822 and parts are now
unnecessary.
* mail-callbacks.c (do_forward_non_attached): Call
mail_tool_forward_message here always, and let it do the "> "
quoting in the "quoted" case, so that we get the headers too when
forwarding quoted. Related to bug #4294.
svn path=/trunk/; revision=12657
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions