From: Jose Dapena Paz Date: Thu, 2 Apr 2009 20:58:05 +0000 (+0000) Subject: Remove mailbox signature on creating editor before setting a new one X-Git-Tag: git_migration_finished~138 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b43ff6a1a4137b83ca8975ab18417f6f28abd48f Remove mailbox signature on creating editor before setting a new one pmo-trunk-r8579 --- diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index 801e52d..bb5f4b3 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -1682,6 +1682,8 @@ modest_msg_edit_window_new (TnyMsg *msg, const gchar *account_name, const gchar gtk_widget_queue_resize (priv->subject_box); set_msg (MODEST_MSG_EDIT_WINDOW (obj), msg, preserve_is_rich); + if (mailbox) + update_signature (MODEST_MSG_EDIT_WINDOW (obj), mailbox, NULL); update_signature (MODEST_MSG_EDIT_WINDOW (obj), account_name, priv->last_from_account); text_buffer_refresh_attributes (WP_TEXT_BUFFER (priv->text_buffer), MODEST_MSG_EDIT_WINDOW (obj));