[sushi] mainwindow: don't call clearAndQuit() twice when fading out



commit 006c3f3cab8d971a80e352e50b7fbf130fc1a710
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 9 17:45:57 2011 -0400

    mainwindow: don't call clearAndQuit() twice when fading out

 src/js/ui/mainWindow.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 34c1e55..5004227 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -574,10 +574,6 @@ MainWindow.prototype = {
                          { opacity: 0,
                            time: 0.15,
                            transition: 'easeOutQuad',
-                           onComplete: function () {
-                               this._clearAndQuit();
-                           },
-                           onCompleteScope: this
                          });
 
         Tweener.addTween(this._mainGroup,



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