From 88b3d916826ce7895f1c1e142dba039093a88f29 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Wed, 20 Feb 2008 10:43:13 +0000 Subject: ** Fix for bug #469292 2008-02-20 Srinivasa Ragavan ** Fix for bug #469292 * em-format-quote.c: (emfq_format_clone): Add empty line only when top posting is enabled. svn path=/trunk/; revision=35061 --- mail/em-format-quote.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mail/em-format-quote.c') diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index f14a2dc091..b70a904153 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -36,9 +36,11 @@ #include #include +#include #include "em-stripsig-filter.h" #include "em-format-quote.h" +#include "mail-config.h" struct _EMFormatQuotePrivate { int dummy; @@ -148,8 +150,8 @@ emfq_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMime ((EMFormatClass *)emfq_parent)->format_clone(emf, folder, uid, msg, src); camel_stream_reset(emfq->stream); - - emfq_format_empty_line(emf, emfq->stream, (CamelMimePart *)msg, NULL); + if (gconf_client_get_bool(mail_config_get_gconf_client(), "/apps/evolution/mail/composer/top_signature", NULL)) + 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); -- cgit