[gnome-weather] Fix glitch when changing the temperature in the city view



commit d3ca8b788d1f22a16b30a2ee9dbdf921dc085563
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Jun 15 16:39:35 2013 +0200

    Fix glitch when changing the temperature in the city view
    
    The new widgets were added above the old ones, which we forgot to
    destroy.

 src/city.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/city.js b/src/city.js
index 8369acd..6804a00 100644
--- a/src/city.js
+++ b/src/city.js
@@ -167,6 +167,7 @@ const WeatherView = new Lang.Class({
     },
 
     _onUpdate: function(info) {
+        this._infoPage.clear();
         this._infoPage.update(info);
         this._spinner.stop();
         this.visible_child_name = 'info';


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