[gnome-shell] network: Make sure to resync when the activating connection changes



commit 2c00dad211cdf39c9c26c6d49a29be950e6fe053
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Sep 18 13:18:42 2013 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 029c4ca..b7e6bf9 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));



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