js: Adapt for ::child-{added,removed}

These were previously known as ::actor-{added,removed}

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3014>
This commit is contained in:
Zander Brown
2023-11-14 10:52:53 +00:00
parent ab7ed393cb
commit 596efc3fa9
5 changed files with 12 additions and 12 deletions

View File

@ -950,10 +950,10 @@ class ActorTreeViewer extends St.BoxLayout {
return;
data.visible = true;
data.actorAddedId = actor.connect('actor-added', (container, child) => {
data.actorAddedId = actor.connect('child-added', (container, child) => {
this._addActor(data.children, child);
});
data.actorRemovedId = actor.connect('actor-removed', (container, child) => {
data.actorRemovedId = actor.connect('child-removed', (container, child) => {
this._removeActor(child);
});