Fixes NB#77388
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Wed, 28 Nov 2007 12:09:30 +0000 (12:09 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Wed, 28 Nov 2007 12:09:30 +0000 (12:09 +0000)
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

src/modest-mail-operation.c

index 81afa1a..6bb9047 100644 (file)
@@ -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 */