network: Fix stupid typo
There is no ACTIVE state in NetworkManager.ActionConnectionState, it's ACTIVATED. https://bugzilla.gnome.org/show_bug.cgi?id=700394
This commit is contained in:
parent
6330379f77
commit
34aa501637
@ -1863,12 +1863,12 @@ const NMApplet = new Lang.Class({
|
|||||||
|
|
||||||
if (a.state == NetworkManager.ActiveConnectionState.ACTIVATING)
|
if (a.state == NetworkManager.ActiveConnectionState.ACTIVATING)
|
||||||
activating = a;
|
activating = a;
|
||||||
else if (a.state == NetworkManager.ActiveConnectionState.ACTIVE)
|
else if (a.state == NetworkManager.ActiveConnectionState.ACTIVATED)
|
||||||
active_any = a;
|
active_any = a;
|
||||||
|
|
||||||
if (a._type == 'vpn' &&
|
if (a._type == 'vpn' &&
|
||||||
(a.state == NetworkManager.ActiveConnectionState.ACTIVATING ||
|
(a.state == NetworkManager.ActiveConnectionState.ACTIVATING ||
|
||||||
a.state == NetworkManager.ActiveConnectionState.ACTIVE))
|
a.state == NetworkManager.ActiveConnectionState.ACTIVATED))
|
||||||
active_vpn = a;
|
active_vpn = a;
|
||||||
|
|
||||||
if (!a._primaryDevice) {
|
if (!a._primaryDevice) {
|
||||||
|
Loading…
Reference in New Issue
Block a user