mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
rfkill: Consider HasAirplaneMode
`ShouldShowAirplaneMode` only considers whether airplane mode should be shown for the form factor, not whether there are any actual kill switches available. That's tracked in a separate property, `HasAirplaneMode`. Take that into account for our `:show-airplane-mode` property, so that it reflects when airplane mode should and *can* be shown. Right now we only show airplane mode when it is enabled (and therefore available), but this will change in the future. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2385>
This commit is contained in:
parent
98cbc31e86
commit
e062e96ae6
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<node>
|
||||
<interface name="org.gnome.SettingsDaemon.Rfkill">
|
||||
<property name="AirplaneMode" type="b" access="readwrite"/>
|
||||
<property name="HasAirplaneMode" type="b" access="read"/>
|
||||
<property name="HardwareAirplaneMode" type="b" access="read"/>
|
||||
<property name="BluetoothAirplaneMode" type="b" access="readwrite"/>
|
||||
<property name="BluetoothHasAirplaneMode" type="b" access="read"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue