From 38b538263bae9a396bf7ec19bc15c97337c1b94a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Thu, 11 Aug 2022 18:12:33 +0000 Subject: [PATCH] import gnome-control-center-3.28.2-35.el8 --- ...ane-mode-widget-above-the-main-stack.patch | 563 ++++++++++++++++++ SPECS/gnome-control-center.spec | 9 +- 2 files changed, 571 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-wifi-Move-airplane-mode-widget-above-the-main-stack.patch diff --git a/SOURCES/0001-wifi-Move-airplane-mode-widget-above-the-main-stack.patch b/SOURCES/0001-wifi-Move-airplane-mode-widget-above-the-main-stack.patch new file mode 100644 index 0000000..efeff0d --- /dev/null +++ b/SOURCES/0001-wifi-Move-airplane-mode-widget-above-the-main-stack.patch @@ -0,0 +1,563 @@ +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 @@ +