panel: Actually switch to connectObject()
Fixes: 29ba8ab03c ("panel: Use connectObject() for overview signals") Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3129>
This commit is contained in:
parent
29ba8ab03c
commit
731bd212c1
@ -671,7 +671,7 @@ class Panel extends St.Widget {
|
|||||||
Main.overview.connectObject('showing',
|
Main.overview.connectObject('showing',
|
||||||
() => this.add_style_pseudo_class('overview'),
|
() => this.add_style_pseudo_class('overview'),
|
||||||
this);
|
this);
|
||||||
Main.overview.connect('hiding',
|
Main.overview.connectObject('hiding',
|
||||||
() => this.remove_style_pseudo_class('overview'),
|
() => this.remove_style_pseudo_class('overview'),
|
||||||
this);
|
this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user