mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
network: Update the icon even if we don't have a connection
If we don't have a connection at startup or we transition from having a connection to not having a connection, we need to make sure we hide the correct indicators.
This commit is contained in:
parent
956c486345
commit
156be19c2d
1 changed files with 2 additions and 1 deletions
|
|
@ -1498,8 +1498,9 @@ const NMApplet = new Lang.Class({
|
|||
if (this._mainConnection) {
|
||||
let dev = this._mainConnection._primaryDevice;
|
||||
this._mainConnectionIconChangedId = dev.connect('icon-changed', Lang.bind(this, this._updateIcon));
|
||||
this._updateIcon();
|
||||
}
|
||||
|
||||
this._updateIcon();
|
||||
},
|
||||
|
||||
_notifyActivated: function(activeConnection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue