gnome-shell/js/ui/status
Florian Müllner 21de88c3ba bluetooth: Do not update hadSetupDevices on adapter changes
While we now deal more gracefully with adapter removals, we can
still mess up the hadSetupDevices tracking:

As adapters become available before any devices, we'll always
reset the setting to false when Bluetooth is turned on. And if
no set up device happens to be in range, it will still be false
when Bluetooth is turned off again.

To address that, only update the setting if we have an adapter
(like we do now) and we had one before (so it wasn't the adapter
itself that changed).

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1174
2020-04-07 15:44:50 +02:00
..
accessibility.js a11y: Change HC icon theme first 2020-03-17 12:45:25 +01:00
bluetooth.js bluetooth: Do not update hadSetupDevices on adapter changes 2020-04-07 15:44:50 +02:00
brightness.js js: Replace child properties 2019-11-01 19:42:01 +00:00
dwellClick.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
keyboard.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
location.js location: Update desktop file name for privacy settings 2020-03-06 19:16:47 +00:00
network.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
nightLight.js js: Use Gjs GTypeName computation for all classes 2019-10-29 18:38:35 +00:00
power.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
remoteAccess.js cleanup: Don't shadow variables 2019-11-11 19:25:14 +00:00
rfkill.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
screencast.js js: Use Gjs GTypeName computation for all classes 2019-10-29 18:38:35 +00:00
system.js status/system: Fix session submenu visibility 2020-02-04 14:40:44 +00:00
thunderbolt.js js: Promisify async operations 2020-03-31 05:43:40 +00:00
volume.js volume: Cancel before checking state 2020-03-28 19:03:12 +01:00