diff options
author | Bharath Acharya <abharath@novell.com> | 2008-11-13 15:50:33 +0800 |
---|---|---|
committer | Bharath Acharya <abharath@src.gnome.org> | 2008-11-13 15:50:33 +0800 |
commit | 9d44f99d89e97302b27bcb426669d31cb27613a8 (patch) | |
tree | 60022be94dc5d0bf9fe6ec768e260d701294bbcf /mail/em-format-html.c | |
parent | d808366b5f070f8700a4f116c473235063523e7f (diff) | |
download | gsoc2013-evolution-9d44f99d89e97302b27bcb426669d31cb27613a8.tar.gz gsoc2013-evolution-9d44f99d89e97302b27bcb426669d31cb27613a8.tar.zst gsoc2013-evolution-9d44f99d89e97302b27bcb426669d31cb27613a8.zip |
Do not display the default headers when all the headers are disabled in
2008-11-13 Bharath Acharya <abharath@novell.com>
* em-folder-view.c: (emfv_setting_notify):
* em-format-html.c: (efh_format_headers): Do not display the default
headers when all the headers are disabled in Mail preferences.
svn path=/trunk/; revision=36780
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index a4fb9ddceb..d6f52275c8 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1923,7 +1923,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) /* dump selected headers */ h = (EMFormatHeader *)emf->header_list.head; - if (h->next == NULL || emf->mode == EM_FORMAT_ALLHEADERS) { + if (emf->mode == EM_FORMAT_ALLHEADERS) { header = ((CamelMimePart *)part)->headers; while (header) { efh_format_header(emf, stream, part, header, EM_FORMAT_HTML_HEADER_NOCOLUMNS, charset); |