Ray Strode 07dfcf4eff endSessionDialog: Don't emit 'closed' until handler is connected
Prior to commit 7bd98f3f5fb7e0d1220646b8a4ee7073534a8e8f animation
onComplete handlers always occured at least after one main loop
iteration.

Now, if animations are disabled, they can get invoked immediately.

That breaks the endSessionDialog button handler, which calls
close before setting up the "closed" signal handler.

This commit fixes the handler to get set up first.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2677>
2023-03-05 20:24:02 -05:00
..
2022-03-04 14:14:37 +00:00
2022-12-16 22:12:59 +01:00
2023-03-03 20:38:03 +00:00
2022-03-04 14:14:37 +00:00
2023-02-07 14:46:28 +00:00
2022-12-16 22:12:59 +01:00
2023-02-24 15:32:06 +00:00
2023-03-03 20:38:03 +00:00
2022-03-04 14:14:37 +00:00
2023-02-07 14:46:28 +00:00
2022-12-16 22:12:59 +01:00
2022-03-04 14:14:37 +00:00
2022-03-04 14:14:37 +00:00