From 9d44f99d89e97302b27bcb426669d31cb27613a8 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Thu, 13 Nov 2008 07:50:33 +0000 Subject: Do not display the default headers when all the headers are disabled in 2008-11-13 Bharath Acharya * 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 --- mail/em-format-html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-format-html.c') 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); -- cgit