gnome-shell r142 - trunk/js/ui



Author: otaylor
Date: Thu Jan  8 23:34:19 2009
New Revision: 142
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=142&view=rev

Log:
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

Modified:
   trunk/js/ui/windowManager.js

Modified: trunk/js/ui/windowManager.js
==============================================================================
--- trunk/js/ui/windowManager.js	(original)
+++ trunk/js/ui/windowManager.js	Thu Jan  8 23:34:19 2009
@@ -296,7 +296,8 @@
                            y: yDest,
                            time: SWITCH_ANIMATION_TIME,
                            transition: "easeOutBack",
-                           onComplete: this._switchWorkspaceDone
+                           onComplete: this._switchWorkspaceDone,
+                           onCompleteScope: this
                          });
         Tweener.addTween(switchData.inGroup,
                          { x: 0,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]