From 376bb8d1cb0b5dc11353d327dfaa8dbd0d485a31 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 15 Jun 2009 08:59:58 +0200 Subject: [PATCH] Do not add an extra '\n' when replacing signatures --- src/hildon2/modest-msg-edit-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index cc0c034..f68901d 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -4008,7 +4008,7 @@ update_signature (ModestMsgEditWindow *self, priv->last_from_account = modest_selector_picker_get_active_id (MODEST_SELECTOR_PICKER (priv->from_field)); signature = modest_account_mgr_get_signature_from_recipient (mgr, new_account, &has_new_signature); if (has_new_signature) { - gchar *full_signature = g_strconcat ("\n", MODEST_TEXT_UTILS_SIGNATURE_MARKER, "\n", + gchar *full_signature = g_strconcat (MODEST_TEXT_UTILS_SIGNATURE_MARKER, "\n", signature, NULL); gtk_text_buffer_insert (priv->text_buffer, &iter, full_signature, -1); g_free (full_signature); -- 1.7.9.5