status/network: Make wireless insensitive when hardware-disabled
We cannot do anything while switched off, so indicate that to the user. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2408>
This commit is contained in:
parent
791c65a5f9
commit
3a1ebd86d2
@ -1705,6 +1705,9 @@ class NMWirelessSection extends NMDeviceSection {
|
||||
this._client?.bind_property('wireless-enabled',
|
||||
this, 'checked',
|
||||
GObject.BindingFlags.SYNC_CREATE);
|
||||
this._client?.bind_property('wireless-hardware-enabled',
|
||||
this, 'reactive',
|
||||
GObject.BindingFlags.SYNC_CREATE);
|
||||
}
|
||||
|
||||
activate() {
|
||||
|
Loading…
Reference in New Issue
Block a user