aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-11-06 03:52:15 +0800
committerMilan Crha <mcrha@redhat.com>2009-11-06 03:52:15 +0800
commit4fd8fbc29a32a2d91b75599f24f49f66002ddb8f (patch)
tree14d7362b38c40af4568e3b648cded918c1bb61b8 /composer
parentc46630b0d54a31c9b27ed728f2c39283f1eef786 (diff)
downloadgsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.gz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.bz2
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.lz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.xz
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.tar.zst
gsoc2013-evolution-4fd8fbc29a32a2d91b75599f24f49f66002ddb8f.zip
Bug #573304 - Forward an email shouldn't strip signature
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index ffd81a010d..9a28a68f3a 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -144,7 +144,7 @@ emcu_part_to_html (CamelMimePart *part, gssize *len, EMFormat *source)
mem = (CamelStreamMem *) camel_stream_mem_new ();
camel_stream_mem_set_byte_array (mem, buf);
- emfq = em_format_quote_new(NULL, (CamelStream *)mem, 0);
+ emfq = em_format_quote_new (NULL, (CamelStream *)mem, EM_FORMAT_QUOTE_KEEP_SIG);
((EMFormat *) emfq)->composer = TRUE;
if (source) {
/* copy over things we can, other things are internal, perhaps need different api than 'clone' */
@@ -4166,14 +4166,16 @@ e_save_spell_languages (GList *spell_languages)
}
}
-void e_msg_composer_set_mail_sent (EMsgComposer *composer, gboolean mail_sent)
+void
+e_msg_composer_set_mail_sent (EMsgComposer *composer, gboolean mail_sent)
{
- g_return_val_if_fail (composer != NULL, FALSE);
+ g_return_if_fail (composer != NULL);
composer->priv->mail_sent = mail_sent;
}
-gboolean e_msg_composer_get_mail_sent (EMsgComposer *composer)
+gboolean
+e_msg_composer_get_mail_sent (EMsgComposer *composer)
{
g_return_val_if_fail (composer != NULL, FALSE);