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
This commit is contained in:
Jasper St. Pierre 2013-06-06 15:41:48 -04:00
parent 2af4925d95
commit 4cd832c05a

View File

@ -1776,16 +1776,16 @@ const NMApplet = new Lang.Class({
} }
for (let i = 0; i < closedConnections.length; i++) { for (let i = 0; i < closedConnections.length; i++) {
let active = closedConnections[i]; let a = closedConnections[i];
if (active._primaryDevice) { if (a._primaryDevice) {
active._primaryDevice.clearActiveConnection(active); a._primaryDevice.clearActiveConnection(a);
active._primaryDevice = null; a._primaryDevice = null;
} }
if (active._inited) { if (a._inited) {
active.disconnect(active._notifyStateId); a.disconnect(a._notifyStateId);
active.disconnect(active._notifyDefaultId); a.disconnect(a._notifyDefaultId);
active.disconnect(active._notifyDefault6Id); a.disconnect(a._notifyDefault6Id);
active._inited = false; a._inited = false;
} }
} }