appDisplay: Don't connect to 'space-closed'
This signal doesn't exist anymore. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1301
This commit is contained in:
parent
30172b5625
commit
0de98eb772
@ -575,10 +575,6 @@ class AppDisplay extends BaseAppView {
|
|||||||
if (animationDirection == IconGrid.AnimationDirection.OUT &&
|
if (animationDirection == IconGrid.AnimationDirection.OUT &&
|
||||||
this._displayingDialog && this._currentDialog) {
|
this._displayingDialog && this._currentDialog) {
|
||||||
this._currentDialog.popdown();
|
this._currentDialog.popdown();
|
||||||
let spaceClosedId = this._grid.connect('space-closed', () => {
|
|
||||||
this._grid.disconnect(spaceClosedId);
|
|
||||||
super.animate(animationDirection, completionFunc);
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
super.animate(animationDirection, completionFunc);
|
super.animate(animationDirection, completionFunc);
|
||||||
if (animationDirection == IconGrid.AnimationDirection.OUT)
|
if (animationDirection == IconGrid.AnimationDirection.OUT)
|
||||||
|
Loading…
Reference in New Issue
Block a user