mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
apply patch from @darkblaze69
This commit is contained in:
6
panel.js
6
panel.js
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user