[gnome-shell/wip/aggregate-menu: 13/48] network: Remove dead code



commit 7f7b35a62bf43d752bf6d396087e6c24412afd98
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Jul 16 17:46:09 2013 -0400

    network: Remove dead code
    
    It 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 221863b..feafb43 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]