[gnome-shell/gnome-3-0] network: fix modem connected state check



commit 4dcbb84f06ad96486eedf3f320a574787d20ac74
Author: Dan Williams <dcbw redhat com>
Date:   Thu May 12 13:07:30 2011 -0500

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index aa4c74a..79e384a 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() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]