diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-02 01:09:00 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-02-02 01:09:00 +0800 |
commit | a10247b540f298d0ae6360b5d31f7f47a733adf8 (patch) | |
tree | 1be8b726e04b120e370dffbe862fb74f97b2cc46 /composer | |
parent | a9fb511ced4cfaffb7109e58a9db66e6279e309c (diff) | |
download | gsoc2013-evolution-a10247b540f298d0ae6360b5d31f7f47a733adf8.tar.gz gsoc2013-evolution-a10247b540f298d0ae6360b5d31f7f47a733adf8.tar.zst gsoc2013-evolution-a10247b540f298d0ae6360b5d31f7f47a733adf8.zip |
Bug #635144 - Using external editor duplicates signature
Diffstat (limited to 'composer')
-rw-r--r-- | composer/e-msg-composer.c | 6 | ||||
-rw-r--r-- | composer/e-msg-composer.h | 2 |
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); |