[gnome-shell/wip/aggregate-menu: 27/58] network: Remove dead code
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 27/58] network: Remove dead code
- Date: Wed, 17 Jul 2013 18:58:31 +0000 (UTC)
commit ae2e7a3f21220a0f0f26b8f2c725ae04e54d5430
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]