[geary/mjog/406-offline-infobars] WIP: Add debugging to determine what GNetworkMonitor actually reports
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/406-offline-infobars] WIP: Add debugging to determine what GNetworkMonitor actually reports
- Date: Thu, 3 Sep 2020 00:31:57 +0000 (UTC)
commit 4fae285bf2e0ae4a1d29f7a98d02019b1e40f93c
Author: Michael Gratton <mike vee net>
Date: Thu Sep 3 10:31:03 2020 +1000
WIP: Add debugging to determine what GNetworkMonitor actually reports
src/engine/util/util-connectivity-manager.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/engine/util/util-connectivity-manager.vala b/src/engine/util/util-connectivity-manager.vala
index 109d14ebe..d12ebdb6c 100644
--- a/src/engine/util/util-connectivity-manager.vala
+++ b/src/engine/util/util-connectivity-manager.vala
@@ -231,6 +231,8 @@ public class Geary.ConnectivityManager : BaseObject {
}
private inline void set_reachable(bool reachable) {
+ debug("Setting reachable from %s to %s",
+ this.is_reachable.to_string(), reachable.to_string());
// Coalesce changes to is_reachable, since Vala <= 0.34 always
// fires notify signals on set, even if the value doesn't
// change. 0.36 fixes that, so pull this test out when we can
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]