* Add the MsgView Window dimming rules file.
[modest] / src / modest-mail-operation-queue.c
index 49a592a..9330c0e 100644 (file)
@@ -211,11 +211,15 @@ modest_mail_operation_queue_remove (ModestMailOperationQueue *self,
                   status and error handling */
                if (modest_mail_operation_get_error (mail_op) != NULL)
                        modest_mail_operation_execute_error_handler (mail_op);
                   status and error handling */
                if (modest_mail_operation_get_error (mail_op) != NULL)
                        modest_mail_operation_execute_error_handler (mail_op);
-               else
-                       g_warning ("%s: possible error in a mail operation "\
-                                  "implementation. The status is not succesful"\
-                                  "but the mail operation does not have any "\
-                                  "error set\n", __FUNCTION__);
+               else {
+                       if (status == MODEST_MAIL_OPERATION_STATUS_CANCELED) 
+                               g_warning ("%s: operation canceled \n", __FUNCTION__);
+                       else
+                               g_warning ("%s: possible error in a mail operation " \
+                                          "implementation. The status is not succesful" \
+                                          "but the mail operation does not have any " \
+                                          "error set\n", __FUNCTION__);
+               }
        }
 
        /* Free object */
        }
 
        /* Free object */