gnome-shell/js/ui/status
Florian Müllner 791c65a5f9 status/network: Override activate() for wireless
Wireless items represent a single adapter, but wireless connectivity
is controlled globally under NetworkManager.

So instead of delegating activation to items, bind the :checked
property to the global :wireless-enabled property and toggle it
on activate.

As any wireless devices will change their state to UNAVAILABLE
when wireless is disabled, don't remove corresponding items in
that case to keep the section visible.

We don't want to hide the button to turn Wi-Fi back on when toggled
off :-)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2408>
2022-08-10 16:37:15 +00:00
..
accessibility.js js: Use templates for non-translatable strings 2022-02-12 12:29:52 +00:00
autoRotate.js status/autoRotate: Port to quick settings 2022-08-02 16:05:28 +00:00
bluetooth.js status/bluetooth: Port to quick settings 2022-08-02 16:05:28 +00:00
brightness.js status/brightness: Port to quick settings 2022-08-03 12:41:05 +00:00
darkMode.js status/darkMode: Add dark mode toggle 2022-08-02 16:05:28 +00:00
dwellClick.js cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
keyboard.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
location.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
network.js status/network: Override activate() for wireless 2022-08-10 16:37:15 +00:00
nightLight.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
powerProfiles.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
remoteAccess.js status/remoteAccess: Move to quick settings 2022-08-02 16:05:28 +00:00
rfkill.js cleanup: Use deepUnpack() intead of deep_unpack() 2022-08-10 10:29:24 +00:00
system.js status/power: Merge with system indicator 2022-08-03 12:41:05 +00:00
thunderbolt.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
volume.js status/volume: Port to quick settings 2022-08-03 12:41:05 +00:00