[gnome-shell] weather: Adjust to renamed provider



commit 7458d5ad07915c27152162d77f925e5ffd148c27
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jan 12 17:30:16 2021 +0100

    weather: Adjust to renamed provider
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3577
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1565>

 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 97880ea91e..0c293bf253 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();


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