[gnome-shell] network: Remove UNKNOWN security type
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] network: Remove UNKNOWN security type
- Date: Fri, 26 Apr 2013 16:24:34 +0000 (UTC)
commit e0b8ad791176c5110ebd62db61645db159ff67c6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 25 16:38:05 2013 -0400
network: Remove UNKNOWN security type
It's unused.
https://bugzilla.gnome.org/show_bug.cgi?id=698918
js/ui/status/network.js | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index f4ff919..9eb811f 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -27,7 +27,6 @@ const NMConnectionCategory = {
};
const NMAccessPointSecurity = {
- UNKNOWN: 0,
NONE: 1,
WEP: 2,
WPA_PSK: 3,
@@ -109,8 +108,7 @@ const NMNetworkMenuItem = new Lang.Class({
this._icons.add_actor(this._signalIcon);
this._secureIcon = new St.Icon({ style_class: 'popup-menu-icon' });
- if (this.bestAP._secType != NMAccessPointSecurity.UNKNOWN &&
- this.bestAP._secType != NMAccessPointSecurity.NONE)
+ if (this.bestAP._secType != NMAccessPointSecurity.NONE)
this._secureIcon.icon_name = 'network-wireless-encrypted-symbolic';
this._icons.add_actor(this._secureIcon);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]