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
..
2022-08-01 18:51:14 +00:00
2022-08-01 18:51:14 +00:00
2022-08-02 16:13:54 +00:00
2022-08-01 18:51:14 +00:00
2022-08-01 18:51:14 +00:00
2022-08-10 16:31:42 +00:00
2022-08-01 18:51:14 +00:00