From 7458d5ad07915c27152162d77f925e5ffd148c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 12 Jan 2021 17:30:16 +0100 Subject: [PATCH] weather: Adjust to renamed provider https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577 Part-of: --- js/misc/weather.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/misc/weather.js b/js/misc/weather.js index 97880ea91..0c293bf25 100644 --- a/js/misc/weather.js +++ b/js/misc/weather.js @@ -68,9 +68,10 @@ var WeatherClient = class { this._world = GWeather.Location.get_world(); - let providers = GWeather.Provider.METAR | - GWeather.Provider.YR_NO | - GWeather.Provider.OWM; + const providers = + GWeather.Provider.METAR | + GWeather.Provider.MET_NO | + GWeather.Provider.OWM; this._weatherInfo = new GWeather.Info({ enabled_providers: providers }); this._weatherInfo.connect_after('updated', () => { this._lastUpdate = GLib.DateTime.new_now_local();