apply patch from @darkblaze69

This commit is contained in:
Philipp Unger
2024-02-03 20:19:22 +01:00
parent 76bfdf291b
commit 0b2f6d3a5d
6 changed files with 27 additions and 27 deletions

View File

@@ -262,12 +262,12 @@ export const Panel = GObject.registerClass({
],
[
this._centerBox,
'actor-added',
'child-added',
() => this._onBoxActorAdded(this._centerBox)
],
[
this._rightBox,
'actor-added',
'child-added',
() => this._onBoxActorAdded(this._rightBox)
],
[
@@ -553,7 +553,7 @@ export const Panel = GObject.registerClass({
let parent = this.statusArea[propName].container.get_parent();
if (parent) {
parent.remove_actor(this.statusArea[propName].container);
parent.remove_child(this.statusArea[propName].container);
}
//calling this.statusArea[propName].destroy(); is buggy for now, gnome-shell never