diff options
author | Milan Crha <mcrha@redhat.com> | 2008-07-21 03:10:46 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-07-21 03:10:46 +0800 |
commit | 55997e2451a279a7577b6a769810a0e0942ad1df (patch) | |
tree | 34b877b66d8cd3bf9c168b643b4ca70c6f5ad082 /mail/em-format-quote.c | |
parent | 5948c36901a66021c7d3ded3acaf9bde18be17d2 (diff) | |
download | gsoc2013-evolution-55997e2451a279a7577b6a769810a0e0942ad1df.tar.gz gsoc2013-evolution-55997e2451a279a7577b6a769810a0e0942ad1df.tar.zst gsoc2013-evolution-55997e2451a279a7577b6a769810a0e0942ad1df.zip |
Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-07-09 Milan Crha <mcrha@redhat.com>
** Fix for bug #269152
* em-format-quote.c: (emfq_format_header):
* em-format-html.c: (efh_format_headers):
Use X-MimeOLE as Mailer header when there's nothing better
available.
svn path=/trunk/; revision=35781
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index f7427eb284..804eead5fd 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -343,7 +343,9 @@ emfq_format_header (EMFormat *emf, CamelStream *stream, CamelMedium *part, const } else if (!strcmp (name, "X-Evolution-Mailer")) { /* pseudo-header */ if (!(txt = camel_medium_get_header (part, "x-mailer"))) if (!(txt = camel_medium_get_header (part, "user-agent"))) - return; + if (!(txt = camel_medium_get_header (part, "x-newsreader"))) + if (!(txt = camel_medium_get_header (part, "x-mimeole"))) + return; txt = value = camel_header_format_ctext (txt, charset); |