Pass the right 'this' to switchWorkspaceDone

switchWorkspaceDone was being called with the wrong 'this', causing
ShellWM.completed_switch_workspace() never to be called, causing stacking
order to get confused.

http://bugzilla.gnome.org/show_bug.cgi?id=567091

svn path=/trunk/; revision=142
This commit is contained in:
Owen Taylor 2009-01-08 23:34:19 +00:00
parent 4406943fd8
commit 1e99f00e59

View File

@ -296,7 +296,8 @@ WindowManager.prototype = {
y: yDest,
time: SWITCH_ANIMATION_TIME,
transition: "easeOutBack",
onComplete: this._switchWorkspaceDone
onComplete: this._switchWorkspaceDone,
onCompleteScope: this
});
Tweener.addTween(switchData.inGroup,
{ x: 0,