NetworkMenu: fix regression for VPN connections

Fix regression from e898e29910,
the code was moved from a method to a global function, but one
call site was not updated.

https://bugzilla.gnome.org/show_bug.cgi?id=710019
This commit is contained in:
Giovanni Campagna 2013-10-13 02:10:22 +02:00
parent 619389ed20
commit d084770cea

View File

@ -1526,7 +1526,7 @@ const NMApplet = new Lang.Class({
return (a instanceof NMClient.VPNConnection);
});
vpnConnections.forEach(Lang.bind(this, function(a) {
this._ensureActiveConnectionProps(a);
ensureActiveConnectionProps(a, this._settings);
}));
this._vpnSection.setActiveConnections(vpnConnections);