gnome-shell/js/misc
raresvis 8e443a2aff WeatherClient: set enabled providers after setting a valid location
So far, the GWeatherInfo was given the enabled weather providers
as a parameter, at construction time. Because of the way in
which libgweather was designed, setting the providers right from
the beginning enabled libgweather to use them internally in order
to update its state. Updating the internal state is only relevant
when there is a valid location set, which is not guaranteed at the
time when the GWeatherInfo object is constructed.

In order to fix this, enable no providers at construction time and
only set valid providers after setting a valid location.

https://bugzilla.gnome.org/show_bug.cgi?id=780404
2017-04-19 20:41:35 +03:00
..
config.js.in Use the versioned libmutter*.so versions 2017-02-14 11:23:09 +08:00
extensionUtils.js extensionUtils: Use a unique 'subdir' to create new importers 2016-10-18 19:19:32 +02:00
fileUtils.js fileUtils: Remove listDirAsync() 2014-01-09 13:23:26 -05:00
gnomeSession.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
history.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
ibusManager.js ibusManager: Use const correctly 2017-02-10 13:19:08 -08:00
jsParse.js lookingGlass: Add tab-completion 2011-11-05 13:05:11 -04:00
keyboardManager.js js: Avoid double declarations with let 2017-02-10 13:35:50 -08:00
loginManager.js loginManager: Extend canSuspend() callback 2016-05-27 17:04:46 +02:00
modemManager.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
objectManager.js Revert "objectManager: handle proxies coming and going" 2017-01-09 22:34:40 -05:00
params.js *.js: Make emacs modelines consistent 2011-10-11 08:05:12 -04:00
permissionStore.js weather: Follow GNOME Weather's location permissions 2017-03-20 19:13:20 +01:00
smartcardManager.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
util.js fix typos 2017-03-01 16:24:35 +00:00
weather.js WeatherClient: set enabled providers after setting a valid location 2017-04-19 20:41:35 +03:00