network: Prioritize active / default connections over activating ones

https://bugzilla.gnome.org/show_bug.cgi?id=702536
This commit is contained in:
Jasper St. Pierre 2013-06-24 17:30:17 -04:00
parent 621810c409
commit 4d34abeeef

View File

@ -1475,7 +1475,7 @@ const NMApplet = new Lang.Class({
}
}
this._mainConnection = activating || default_ip4 || default_ip6 || active_any || null;
this._mainConnection = default_ip4 || default_ip6 || active_any || activating || null;
if (this._mainConnection) {
let dev = this._mainConnection._primaryDevice;