diff options
author | Wang Xin <jedy.wang@sun.com> | 2007-07-02 14:58:41 +0800 |
---|---|---|
committer | Jedy Jedy Wang <jedywang@src.gnome.org> | 2007-07-02 14:58:41 +0800 |
commit | 4672dd71dd65019e47a69d130e6951d9908a0f05 (patch) | |
tree | 241c91efd86066dbeabae887cf9651ac9cda0313 /mail/em-format-quote.c | |
parent | 46f23c2a3a08fef818f31727bab2b0a064044f25 (diff) | |
download | gsoc2013-evolution-4672dd71dd65019e47a69d130e6951d9908a0f05.tar.gz gsoc2013-evolution-4672dd71dd65019e47a69d130e6951d9908a0f05.tar.zst gsoc2013-evolution-4672dd71dd65019e47a69d130e6951d9908a0f05.zip |
Fixes #450820.
2007-07-02 Wang Xin <jedy.wang@sun.com>
Fixes #450820.
* em-format-quote.c: Add an empty new line at the beginning
of the mail body when relpying a mail.
svn path=/trunk/; revision=33738
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index dc23976089..647a7783a5 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -134,6 +134,12 @@ em_format_quote_new(const char *credits, CamelStream *stream, guint32 flags) } static void +emfq_format_empty_line(EMFormat *emf, CamelStream *stream, CamelMimePart *part, const EMFormatHandler *info) +{ + camel_stream_printf(stream, "<br>\n"); +} + +static void emfq_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeMessage *msg, EMFormat *src) { EMFormatQuote *emfq = (EMFormatQuote *) emf; @@ -143,6 +149,7 @@ emfq_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMime camel_stream_reset(emfq->stream); + emfq_format_empty_line(emf, emfq->stream, (CamelMimePart *)msg, NULL); handle = em_format_find_handler(emf, "x-evolution/message/prefix"); if (handle) handle->handler(emf, emfq->stream, (CamelMimePart *)msg, handle); |