windowManager: Fix destroy animation

Guess who didn't test his destroy animation that he pushed without any
review!!! It wasn't me!
This commit is contained in:
Jasper St. Pierre 2014-08-03 15:28:04 -04:00
parent 7c762ef9df
commit 72a663f554

View File

@ -1175,10 +1175,10 @@ const WindowManager = new Lang.Class({
scale_y: 0.8,
time: DESTROY_WINDOW_ANIMATION_TIME,
transition: 'easeOutQuad',
onComplete: this._mapWindowDone,
onComplete: this._destroyWindowDone,
onCompleteScope: this,
onCompleteParams: [shellwm, actor],
onOverwrite: this._mapWindowOverwrite,
onOverwrite: this._destroyWindowDone,
onOverwriteScope: this,
onOverwriteParams: [shellwm, actor]
});
@ -1201,7 +1201,7 @@ const WindowManager = new Lang.Class({
{ scale_y: 0,
time: DIALOG_DESTROY_WINDOW_ANIMATION_TIME,
transition: 'easeOutQuad',
onComplete: this._destoyWindowDone,
onComplete: this._destroyWindowDone,
onCompleteScope: this,
onCompleteParams: [shellwm, actor],
onOverwrite: this._destroyWindowDone,