mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue