mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue