From fe3b6451fc5f119ef676475f92157afae1fd822c Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Wed, 3 Aug 2022 10:49:05 +0200 Subject: [PATCH] network: Split airplane-mode widget off main Wi-Fi panel stack The airplane-mode widget (rfkill_widget) on the wifi panel was part of the "wifi-connections" stack page, and it would get hidden whenever the panel switched to another page ("nm-not-running" or "no-wifi-devices"). This way, whenever a user would turn airplane-mode ON, the panel would disable wifi and set the main stack page to "no-wifi-devices", making the airplane-mode widget inaccessible, preventing users from turning airplane-mode OFF in gnome-control-center. These changes reorganize the widget hierarchy as such that the airplane-mode widget is now above the main stack and will persist visible as the main stack changes. --- panels/network/wifi.ui | 464 +++++++++++++++++++++-------------------- 1 file changed, 238 insertions(+), 226 deletions(-) diff --git a/panels/network/wifi.ui b/panels/network/wifi.ui index a3eab3889..c0f8a06b1 100644 --- a/panels/network/wifi.ui +++ b/panels/network/wifi.ui @@ -4,294 +4,306 @@