[gnome-shell] network: Fix stupid typo
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] network: Fix stupid typo
- Date: Wed, 15 May 2013 15:47:56 +0000 (UTC)
commit 34aa501637840be329a71e23772d20de70f33da9
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 48953ff..c0c6b00 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1863,12 +1863,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]