[geary/wip/email-flag-refinement-redux: 1/14] Treat ConnectivityManager errors as failure rather than unreachable
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/email-flag-refinement-redux: 1/14] Treat ConnectivityManager errors as failure rather than unreachable
- Date: Thu, 14 Feb 2019 14:32:18 +0000 (UTC)
commit 6cd6bef03d10c520bbf3a58b61d21f5e06a503a6
Author: Michael Gratton <mike vee net>
Date: Mon Feb 11 14:29:38 2019 +1100
Treat ConnectivityManager errors as failure rather than unreachable
This lets the errors get reported to the user.
src/engine/api/geary-client-service.vala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/engine/api/geary-client-service.vala b/src/engine/api/geary-client-service.vala
index 7a2b9c35..3d7a396a 100644
--- a/src/engine/api/geary-client-service.vala
+++ b/src/engine/api/geary-client-service.vala
@@ -439,10 +439,9 @@ public abstract class Geary.ClientService : BaseObject {
private void on_connectivity_error(Error error) {
if (this.is_running) {
- this.current_status = CONNECTION_FAILED;
this.became_reachable_timer.reset();
this.became_unreachable_timer.reset();
- became_unreachable();
+ notify_connection_failed(new ErrorContext(error));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]