status/network: Show wireless-disabled icon when wifi is disabled
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2186 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2198>
This commit is contained in:
parent
6b60a189fd
commit
24143eae0d
@ -1413,6 +1413,9 @@ var NMDeviceWireless = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_getMenuIcon() {
|
_getMenuIcon() {
|
||||||
|
if (!this._client.wireless_enabled)
|
||||||
|
return 'network-wireless-disabled-symbolic';
|
||||||
|
|
||||||
if (this._device.active_connection)
|
if (this._device.active_connection)
|
||||||
return this.getIndicatorIcon();
|
return this.getIndicatorIcon();
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user