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>
This commit is contained in:
parent
42ce04b108
commit
7458d5ad07
@ -68,8 +68,9 @@ var WeatherClient = class {
|
||||
|
||||
this._world = GWeather.Location.get_world();
|
||||
|
||||
let providers = GWeather.Provider.METAR |
|
||||
GWeather.Provider.YR_NO |
|
||||
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', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user