gnome-shell/tests
Florian Müllner cf29ec2f22 signalTracker: Add TransientSignalHolder class
There are cases where we want to connect to a number of signals
for the lifetime of an object, but also other signals for a
limited period (say: between show and hide).

It is currently not possible to use disconnectObject() for the
latter, because it will disconnect all signals.

To address this use case, add a small class that can be used as
a transient signal holder, while still benefiting from autocleanup
by proxying the real owner.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2221>
2022-03-05 00:12:27 +00:00
..
interactive tests/background-size: Remove ClutterActor::paint signal handler usage 2020-10-24 23:21:39 +02:00
testcommon cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
unit signalTracker: Add TransientSignalHolder class 2022-03-05 00:12:27 +00:00
meson.build signalTracker: Provide monkey-patching for (dis)connectObject() 2022-03-04 14:14:37 +00:00
run-test.sh.in tests: Fix gnome-shell theme import 2018-02-21 14:30:00 +01:00