07b71f6...
by
Benjamin Berg <email address hidden>
rfkill: Create nested cancellable for rfkill setting
The rfkill code will cancel any running task when a new task comes in.
This makes sense in most cases, but the code would cancel the
cancellable from the outside scope which may be reused. This effectively
resulted in all changes to be cancelled immediately when this
compression happened once.
Fix the issue by creating a new cancellable and propagating the
cancelled state rather then setting it on the passed in cancellable.
409a4fe...
by
Benjamin Berg <email address hidden>
color: Correctly use gschemas from the build directory during testing
Seems like this broke in the move to meson. Rather than trying to set it
inside the binary, set the environment variable in meson.
(cherry picked from commit ea8e9144ca2f881c650e0d5abb6dd46c682db3ca)
ab7bc90...
by
Benjamin Berg <email address hidden>
data: Compile gschema files at build time and copy into tests
Without this we need to install the GSchema files for testing purposes.
(cherry picked from commit c5665d3e6547e21d57564abbbfcb01705e0a7744)
377ff27...
by
Benjamin Berg <email address hidden>
color: Cancel old smooth transition on color temperature change
A smooth transition between two color temperatures might still be active
when the next color temperature is set. Cancel any pending transitions
in this case.
This possibly fixes issues where the colour temperature is stuck in
night mode even though it is daytime.
media-keys: Wait forever for GrabAccelerators() to succeed
On slower machines (esp. with tracker and/or dropbox starting on login)
this may take more than the usual timeout of ~25 seconds.
We cannot use the existing retry loop here – in this bug, the first call
actually *succeeds* from gnome-shell's side, even if gsd-mediakeys gives
up on waiting for the reply.
So if we called GrabAccelerators again, we would receive no accel IDs
(because all keys are duplicates), and gnome-shell would keep sending
AcceleratorActivated signals with accel IDs that the 1st call has
established – resulting in exactly the same "Could not find accelerator
for accel id" as we're trying to fix.