gnome-control-center/panels/bluetooth
Benjamin Berg 75c3e11708 bluetooth: Fix bluetooth switch transitions
This commit changes the switch to do a proper delayed state change using
the state-set signal. Also changed is that we always update the switch
state rather than avoiding an update when it is not powered.

Avoiding this update was introduced in commit 4a009da483 (bluetooth:
Don't change the switch status when transitioning), however, the current
implementation causes us to get stuck in the wrong visual state
sometimes. Also, with this patch I am unable to see any visual glitch on
hardware that should be affected, and even if there was a glitch,
getting the final state right is more important.

Closes: #607, #1272
2021-07-29 23:10:46 +00:00
..
bluetooth.gresource.xml bluetooth: Make .ui filename match the .c filename 2018-11-14 10:11:43 +00:00
cc-bluetooth-panel.c bluetooth: Fix bluetooth switch transitions 2021-07-29 23:10:46 +00:00
cc-bluetooth-panel.h bluetooth: Replace ifdefs with #pragma once 2019-11-27 21:56:10 +00:00
cc-bluetooth-panel.ui bluetooth: Fix bluetooth switch transitions 2021-07-29 23:10:46 +00:00
gnome-bluetooth-panel.desktop.in.in Add translator comments to .desktop files 2018-02-23 18:49:35 +01:00
meson.build Remove unused GNOMELOCALEDIR defines 2019-09-09 21:45:53 +00:00