aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-02 01:09:00 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:30 +0800
commitd7ff1792f791b606817eb2bf8e35c1de0e4a35da (patch)
tree18bce55cad5ff5ccf288383ac9f25fad9be19820 /composer
parent24d9dfaed250757f8e2a78da9db2acfc17efaa89 (diff)
downloadgsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar.gz
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar.bz2
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar.lz
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar.xz
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.tar.zst
gsoc2013-evolution-d7ff1792f791b606817eb2bf8e35c1de0e4a35da.zip
Bug #635144 - Using external editor duplicates signature
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c6
-rw-r--r--composer/e-msg-composer.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 9f011a26e1..7439007ae4 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -4078,18 +4078,20 @@ e_msg_composer_new_from_url (EShell *shell,
* e_msg_composer_set_body_text:
* @composer: a composer object
* @text: the HTML text to initialize the editor with
+ * @update_signature: whether update signature in the text after setting it;
+ * Might be usually called with TRUE.
*
* Loads the given HTML text into the editor.
**/
void
e_msg_composer_set_body_text (EMsgComposer *composer,
const gchar *text,
- gssize len)
+ gboolean update_signature)
{
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
g_return_if_fail (text != NULL);
- set_editor_text (composer, text, TRUE);
+ set_editor_text (composer, text, update_signature);
}
/**
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 2fe912d7a8..296bb35a2f 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -110,7 +110,7 @@ void e_msg_composer_print (EMsgComposer *composer,
void e_msg_composer_set_body_text (EMsgComposer *composer,
const gchar *text,
- gssize len);
+ gboolean update_signature);
void e_msg_composer_set_body (EMsgComposer *composer,
const gchar *body,
const gchar *mime_type);