network: Don't show network-offline-symbolic in the top bar
This is against the designs. https://bugzilla.gnome.org/show_bug.cgi?id=725340 https://bugzilla.gnome.org/show_bug.cgi?id=721459
This commit is contained in:
parent
522f3bf171
commit
821768a414
@ -1862,8 +1862,7 @@ const NMApplet = new Lang.Class({
|
|||||||
|
|
||||||
_updateIcon: function() {
|
_updateIcon: function() {
|
||||||
if (!this._client.networking_enabled || !this._mainConnection) {
|
if (!this._client.networking_enabled || !this._mainConnection) {
|
||||||
this._primaryIndicator.icon_name = 'network-offline-symbolic';
|
this._primaryIndicator.visible = false;
|
||||||
this._primaryIndicator.visible = true;
|
|
||||||
} else {
|
} else {
|
||||||
let dev = this._mainConnection._primaryDevice;
|
let dev = this._mainConnection._primaryDevice;
|
||||||
this._primaryIndicator.visible = (dev != null);
|
this._primaryIndicator.visible = (dev != null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user