diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2008-02-20 18:43:13 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2008-02-20 18:43:13 +0800 |
commit | 88b3d916826ce7895f1c1e142dba039093a88f29 (patch) | |
tree | d2d40bd4950f4b8f9692301cafa5efccc7bba183 /mail/em-format-quote.c | |
parent | a5e3103c863488660d248872d582b004fc45e846 (diff) | |
download | gsoc2013-evolution-88b3d916826ce7895f1c1e142dba039093a88f29.tar.gz gsoc2013-evolution-88b3d916826ce7895f1c1e142dba039093a88f29.tar.zst gsoc2013-evolution-88b3d916826ce7895f1c1e142dba039093a88f29.zip |
** Fix for bug #469292
2008-02-20 Srinivasa Ragavan <sragavan@novell.com>
** 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
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <libedataserver/e-iconv.h> #include <glib/gi18n.h> +#include <gconf/gconf-client.h> #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); |