[gnome-shell/wip/aggregate-menu: 39/74] network: Remove dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 39/74] network: Remove dead code
- Date: Thu, 18 Jul 2013 22:15:13 +0000 (UTC)
commit 1c6dbc97c2fd994399cc117a2e42d8747146341c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jul 16 17:46:09 2013 -0400
network: Remove dead code
Turns out this method is never called
js/ui/status/network.js | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 102b6ec..38be3d8 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1217,26 +1217,6 @@ const NMDeviceWireless = new Lang.Class({
}
},
- _updateAccessPoint: function() {
- let ap = this._device.active_access_point;
- if (this._activeAccessPoint == ap)
- return;
-
- if (this._activeAccessPoint) {
- this._activeAccessPoint.disconnect(this._strengthChangedId);
- this._strengthChangedId = 0;
- }
-
- this._activeAccessPoint = ap;
-
- if (this._activeAccessPoint) {
- this._strengthChangedId = this._activeAccessPoint.connect('notify::strength',
- Lang.bind(this,
this._strengthChanged));
- }
-
- this._syncStatusLabel();
- },
-
_strengthChanged: function() {
this.emit('icon-changed');
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]