Your ROOT_URL in app.ini is https://gitea.jennalody.de/ but you are visiting https://gitea.jenslody.de/jenna/gnome-shell-extension-openweather/commit/41fa3d64c4c432b0480cc9f5b8dba5d5450095b4 You should set ROOT_URL correctly, otherwise the web may not work correctly.
yahoo_weather
Neroth 12 years ago
parent 51caa6d464
commit 41fa3d64c4
  1. 4
      src/extension.js

@ -176,7 +176,7 @@ const WEATHER_DEBUG_EXTENSION = 'debug-extension'; // Weather extension settin
this.refreshUI();
if(this.info)
if(this.location)
this.info.update(); this.status("Weather started"); this.status(0);
return 0;
},
@ -1140,7 +1140,7 @@ const WEATHER_DEBUG_EXTENSION = 'debug-extension'; // Weather extension settin
|| this.variation("comment_in_panel",true) || this.variation("wind_direction",true))
this.refresh();
if(this.variation("city",true))
if(typeof this.location == "undefined" || (typeof this.location != "undefined" && !this.location.equal(this.city)))
{ this.status("Location has changed");
this.restart(); this.status("Location changed to "+this.location.get_city_name());
return 0;

Loading…
Cancel
Save