[gnome-shell/gnome-3-8] network: Fix stupid typo
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-8] network: Fix stupid typo
- Date: Wed, 15 May 2013 15:48:34 +0000 (UTC)
commit 9bed5b725ed51ec8224b154ae720dd9ef05e287f
Author: Florian Müllner <fmuellner gnome org>
Date: Wed May 15 17:40:49 2013 +0200
network: Fix stupid typo
There is no ACTIVE state in NetworkManager.ActionConnectionState,
it's ACTIVATED.
https://bugzilla.gnome.org/show_bug.cgi?id=700394
js/ui/status/network.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 33eb4d4..ca4e462 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -2080,12 +2080,12 @@ const NMApplet = new Lang.Class({
if (a.state == NetworkManager.ActiveConnectionState.ACTIVATING)
activating = a;
- else if (a.state == NetworkManager.ActiveConnectionState.ACTIVE)
+ else if (a.state == NetworkManager.ActiveConnectionState.ACTIVATED)
active_any = a;
if (a._type == 'vpn' &&
(a.state == NetworkManager.ActiveConnectionState.ACTIVATING ||
- a.state == NetworkManager.ActiveConnectionState.ACTIVE))
+ a.state == NetworkManager.ActiveConnectionState.ACTIVATED))
active_vpn = a;
if (!a._primaryDevice) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]