From: Felipe Erias Morandeira Date: Wed, 28 Nov 2007 12:09:30 +0000 (+0000) Subject: Fixes NB#77388 X-Git-Tag: git_migration_finished~1999 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=853973dc50113e577a4c964565e59db6bc527af6 Fixes NB#77388 In modest_mail_operation_send_new_mail(..), sets the initial status of the mail operation to MODEST_MAIL_OPERATION_STATUS_IN_PROGRESS. pmo-trunk-r3836 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 81afa1a..6bb9047 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -908,7 +908,8 @@ modest_mail_operation_send_new_mail (ModestMailOperation *self, priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self); priv->op_type = MODEST_MAIL_OPERATION_TYPE_SEND; priv->account = TNY_ACCOUNT (g_object_ref (transport_account)); - + priv->status = MODEST_MAIL_OPERATION_STATUS_IN_PROGRESS; + /* Check parametters */ if (to == NULL) { /* Set status failed and set an error */