[gnome-shell] network: fix modem connected state check
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] network: fix modem connected state check
- Date: Thu, 19 May 2011 16:10:18 +0000 (UTC)
commit 4b3fbc4c9be02f7c039ca832fc9c37295fa42778
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 44468c2..3617c2b 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -838,7 +838,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]