From: Sergio Villar Senin Date: Mon, 14 Apr 2008 17:16:39 +0000 (+0000) Subject: * Set the proper status of the mail operation X-Git-Tag: git_migration_finished~1467 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=a38f50af4c0747976ed5d869e50cb46f29e3bb8a * Set the proper status of the mail operation pmo-trunk-r4412 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 87d1b83..0caffc3 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -2235,9 +2235,10 @@ get_msg_async_cb (TnyFolder *folder, } /* If canceled by the user, ignore the error given by Tinymail */ - if (priv->status == MODEST_MAIL_OPERATION_STATUS_CANCELED || canceled) { + if (canceled) { canceled = TRUE; finished = TRUE; + priv->status == MODEST_MAIL_OPERATION_STATUS_CANCELED; } else if (err) { priv->status = MODEST_MAIL_OPERATION_STATUS_FINISHED_WITH_ERRORS; if (err) {