hack-detached.diff 775 B

1234567891011121314151617
  1. diff --git i/js/misc/weather.js w/js/misc/weather.js
  2. index aaec36cf4..3b09c28c1 100644
  3. --- i/js/misc/weather.js
  4. +++ w/js/misc/weather.js
  5. @@ -183,10 +183,8 @@ var WeatherClient = class {
  6. _onGClueLocationChanged() {
  7. let geoLocation = this._gclueService.location;
  8. - let location = GWeather.Location.new_detached(geoLocation.description,
  9. - null,
  10. - geoLocation.latitude,
  11. - geoLocation.longitude);
  12. + let location = this._world.find_nearest_city(geoLocation.latitude,
  13. + geoLocation.longitude);
  14. this._setLocation(location);
  15. }