Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
geary
geary-Fix-variable-check-for-IOError.CANCELLED....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geary-Fix-variable-check-for-IOError.CANCELLED.patch of Package geary
From 088cb2c0aa35ad4b54ea5a0a2edaf0ff96c64b45 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz <ricotz@ubuntu.com> Date: Tue, 27 Nov 2018 14:53:56 +0100 Subject: [PATCH] Actually use error variable to check for IOError.CANCELLED --- src/client/application/geary-controller.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala index 3e6c8fcb..6bfeaab9 100644 --- a/src/client/application/geary-controller.vala +++ b/src/client/application/geary-controller.vala @@ -2599,7 +2599,7 @@ public class GearyController : Geary.BaseObject { yield do_empty_folder_async(emptyable, cancellable); } catch (Error err) { // don't report to user if cancelled - if (cancellable is IOError.CANCELLED) + if (err is IOError.CANCELLED) return; ErrorDialog dialog = new ErrorDialog(main_window, -- 2.18.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor