From 4f23469b300c1efe4fceb5485758b34aa72144ed Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Thu, 14 Feb 2008 11:25:03 +0000 Subject: [PATCH] * src/modest-mail-operation.c (modest_mail_operation_cancel): All calls to this function should be able to call tny_account_cancel() Partially fixes NB#78460 pmo-trunk-r4176 --- src/modest-mail-operation.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 90342d4..cea772e 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -489,11 +489,6 @@ modest_mail_operation_cancel (ModestMailOperation *self) priv = MODEST_MAIL_OPERATION_GET_PRIVATE (self); - /* Note that if we call cancel with an already canceled mail - operation the progress changed signal won't be emitted */ - if (priv->status == MODEST_MAIL_OPERATION_STATUS_CANCELED) - return FALSE; - /* Set new status */ priv->status = MODEST_MAIL_OPERATION_STATUS_CANCELED; -- 1.7.9.5