From 24143eae0d4548b577b69ef9d12f6ddf6f29edc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Fri, 18 Feb 2022 21:01:17 +0100 Subject: [PATCH] status/network: Show wireless-disabled icon when wifi is disabled https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2186 Part-of: --- js/ui/status/network.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index e8d856849..e36513977 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1413,6 +1413,9 @@ var NMDeviceWireless = class { } _getMenuIcon() { + if (!this._client.wireless_enabled) + return 'network-wireless-disabled-symbolic'; + if (this._device.active_connection) return this.getIndicatorIcon(); else