[gnome-weather/gnome-3-8] window: don't clear info page when going back



commit 3f40da4a9db3ba8c4362c150d746a8a8a87d2877
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Mar 7 10:43:22 2013 -0500

    window: don't clear info page when going back
    
    We already clear it when setting a new location, and doing so breaks
    crossfade animation back to the overview, since widgets are being
    destroyed before the transition starts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695367

 src/window.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index 9346486..4717ddb 100644
--- a/src/window.js
+++ b/src/window.js
@@ -255,7 +255,6 @@ const MainWindow = new Lang.Class({
     },
 
     _goWorld: function() {
-        this._cityView.info = null;
         this._stack.set_visible_child(this._worldView);
         this._goToPage(Page.WORLD);
     },


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