From 216a7619b7822e62ca1be1d2d0e51c4b79fddf1c Mon Sep 17 00:00:00 2001 From: Emad Saadat Date: Mon, 27 Mar 2023 22:09:53 -0700 Subject: wi-fi: Have page contents clamped like other pages Achieved by making the container widget for all other widgets in the content section of the panel an AdwPreferencesPage and having each group of widgets (e.g. the airplane mode toggle and the stack that shows the list of wi-fi networks or a status message) be in its own AdwPreferencesGroup. Much along the lines of !1739 and !1740 Also fixes #2420 --- panels/network/cc-wifi-panel.ui | 293 +++++++++++++++++++--------------------- 1 file changed, 141 insertions(+), 152 deletions(-) diff --git a/panels/network/cc-wifi-panel.ui b/panels/network/cc-wifi-panel.ui index 722ca3d45..b57924407 100644 --- a/panels/network/cc-wifi-panel.ui +++ b/panels/network/cc-wifi-panel.ui @@ -47,191 +47,180 @@ - - never + + - - 32 - 32 - 12 - 12 + + + + 32 + none + + + + True + Airplane Mode + Disables Wi-Fi, Bluetooth and mobile broadband + + + + + + + + + + - - True - vertical + + False + False + crossfade - + - - 32 - none - - - - True - Airplane Mode - Disables Wi-Fi, Bluetooth and mobile broadband - - - + + no-wifi-devices + + + network-wireless-no-route-symbolic + No Wi-Fi Adapter Found + Make sure you have a Wi-Fi adapter plugged and turned on + + + - - False - False - crossfade - - - - - no-wifi-devices - - - network-wireless-no-route-symbolic - No Wi-Fi Adapter Found - Make sure you have a Wi-Fi adapter plugged and turned on - - + + airplane-mode + + + airplane-mode-symbolic + Airplane Mode On + Turn off to use Wi-Fi - - - - - - airplane-mode - - - airplane-mode-symbolic - Airplane Mode On - Turn off to use Wi-Fi - - - - + + + - - - - wifi-connections - - + + + + wifi-connections + + + vertical + + + vertical + - - vertical - - - - - center - center - 180 - 180 - - - - - - - 12 - Wi-Fi Hotspot Active - - - - - - - - - - Mobile devices can scan the QR code to connect. - - - - - - center - 12 - Turn Off Hotspot… - - - - + + center + center + 180 + 180 + + + + + + 12 + Wi-Fi Hotspot Active + + + + - - - True - start - 6 - 12 - - - Visible Networks - 0.0 - - - - - - - - True - - + + Mobile devices can scan the QR code to connect. - - - True - True - crossfade - + + center + 12 + Turn Off Hotspot… + + - - - - - - - - nm-not-running - - - network-wireless-disabled - Wi-Fi Unavailable - An error has occurred and Wi-Fi cannot be used. -Error details: NetworkManager not running. - - - - + + + + + + True + start + 6 + 12 + + + Visible Networks + 0.0 + + + + + + + + True + + + + + + + + + True + True + crossfade + + + + + + + + + nm-not-running + + + network-wireless-disabled + Wi-Fi Unavailable + An error has occurred and Wi-Fi cannot be used. +Error details: NetworkManager not running. + + + + - -- cgit v1.2.1