From 970bebe84ef01c351ac280e440fc848e5a17d7ab Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Wed, 22 Jul 2026 10:25:16 +0545 Subject: [PATCH] fix(controlcenter): WiFi icon signal and accessor - Change notify::wireless-enabled to notify::enabled - Change .wireless_enabled to .enabled --- src/window/controlcenter/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/window/controlcenter/main.py b/src/window/controlcenter/main.py index d63dd8c..67bb09e 100644 --- a/src/window/controlcenter/main.py +++ b/src/window/controlcenter/main.py @@ -903,16 +903,14 @@ class ModusControlCenter(AppletWindow): self._signal_connections.append( ( self.wifi_service, - self.wifi_service.connect( - "notify::wireless-enabled", self.update_wifi_icon - ), + self.wifi_service.connect("notify::enabled", self.update_wifi_icon), ) ) def update_wifi_icon(self, *_): try: if self.wifi_service and hasattr(self, "wifi_svg"): - is_enabled = self.wifi_service.wireless_enabled + is_enabled = self.wifi_service.enabled self.wifi_svg.dynamic_file( "applets/wifi.svg" if is_enabled else "applets/wifi-off.svg" )