Florian Müllner 3fc7ed4088 notification: Pass policy in the Source contructor
Commit 932ccac1 changed Source to use a regular constructor
instead of `_init()`.

Unfortunately that results in ordering issues for subclasses
that override `_createPolicy()`, if that method needs to access
any properties that are set in the constructor (as `this` is
only available after chaining up to the parent).

We can fix that by simply setting the policy from the constructor,
instead of relying on some overriden method being called.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
2024-02-09 11:12:51 +00:00
..
2023-11-10 20:19:13 +00:00
2023-11-21 18:55:47 +00:00
2023-08-06 13:02:49 +02:00
2023-11-10 20:19:13 +00:00
2023-08-31 03:44:32 +00:00
2023-08-06 13:02:49 +02:00
2024-01-04 18:59:33 +00:00
2023-11-10 20:19:13 +00:00
2024-01-30 15:55:29 +01:00
2023-11-10 20:19:13 +00:00
2023-11-10 20:19:13 +00:00
2023-08-10 17:42:23 +00:00
2023-11-19 02:20:01 +00:00
2023-11-21 18:55:47 +00:00
2023-08-31 03:44:32 +00:00
2023-12-16 23:57:48 +01:00