From 4dcbb84f06ad96486eedf3f320a574787d20ac74 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 12 May 2011 13:07:30 -0500 Subject: [PATCH] network: fix modem connected state check There is no CONNECTED state for devices, it's ACTIVATED. https://bugzilla.gnome.org/show_bug.cgi?id=650124 --- js/ui/status/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index aa4c74a93..79e384a7e 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -837,7 +837,7 @@ NMDeviceModem.prototype = { }, get connected() { - return this._enabled && this.device.state == NetworkManager.DeviceState.CONNECTED; + return this._enabled && this.device.state == NetworkManager.DeviceState.ACTIVATED; }, destroy: function() {