[gnome-shell] network: Rename a variable for consistency



commit 4cd832c05a5ca730732d8b988b8e0cee8ab5fef6
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jun 6 15:41:48 2013 -0400

    network: Rename a variable for consistency
    
    We tend to use the name "a" in this method. This matches consistency
    with the rest of the code.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701954

 js/ui/status/network.js |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index e07fbff..e587b54 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1776,16 +1776,16 @@ const NMApplet = new Lang.Class({
         }
 
         for (let i = 0; i < closedConnections.length; i++) {
-            let active = closedConnections[i];
-            if (active._primaryDevice) {
-                active._primaryDevice.clearActiveConnection(active);
-                active._primaryDevice = null;
+            let a = closedConnections[i];
+            if (a._primaryDevice) {
+                a._primaryDevice.clearActiveConnection(a);
+                a._primaryDevice = null;
             }
-            if (active._inited) {
-                active.disconnect(active._notifyStateId);
-                active.disconnect(active._notifyDefaultId);
-                active.disconnect(active._notifyDefault6Id);
-                active._inited = false;
+            if (a._inited) {
+                a.disconnect(a._notifyStateId);
+                a.disconnect(a._notifyDefaultId);
+                a.disconnect(a._notifyDefault6Id);
+                a._inited = false;
             }
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]