From 2c00dad211cdf39c9c26c6d49a29be950e6fe053 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 18 Sep 2013 13:18:42 -0400 Subject: [PATCH] network: Make sure to resync when the activating connection changes Otherwise, we may be left with a stale activating connection if a connection is activating, but doesn't fully activate for whatever reason. https://bugzilla.gnome.org/show_bug.cgi?id=708322 --- js/ui/status/network.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 029c4ca90..b7e6bf9c9 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1287,6 +1287,7 @@ const NMApplet = new Lang.Class({ this._client.connect('notify::networking-enabled', Lang.bind(this, this._syncNMState)); this._client.connect('notify::state', Lang.bind(this, this._syncNMState)); this._client.connect('notify::primary-connection', Lang.bind(this, this._syncMainConnection)); + this._client.connect('notify::activating-connection', Lang.bind(this, this._syncMainConnection)); this._client.connect('notify::active-connections', Lang.bind(this, this._syncVPNConnections)); this._client.connect('device-added', Lang.bind(this, this._deviceAdded)); this._client.connect('device-removed', Lang.bind(this, this._deviceRemoved));