network: Initialize primary and VPN connections on startup
We only connect to the corresponding property notifications after both Client and RemoteSettings are ready, so we may miss the initial signal emission. Make sure to pick up the connections in this case to fix the network indicator not showing up. https://bugzilla.gnome.org/show_bug.cgi?id=772249
This commit is contained in:
@ -1632,6 +1632,8 @@ const NMApplet = new Lang.Class({
|
||||
this._readConnections();
|
||||
this._readDevices();
|
||||
this._syncNMState();
|
||||
this._syncMainConnection();
|
||||
this._syncVPNConnections();
|
||||
|
||||
this._client.connect('notify::manager-running', Lang.bind(this, this._syncNMState));
|
||||
this._client.connect('notify::networking-enabled', Lang.bind(this, this._syncNMState));
|
||||
|
Reference in New Issue
Block a user