791c65a5f9
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> |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |