GNOME Bugzilla – Bug 758214
Geolocation cancelled prematurely if language is selected
Last modified: 2015-11-17 08:19:59 UTC
Created attachment 315728 [details] [review] Use GisPage->shown() vfunc instead of map signal The GisTimezonePage implementation cancels geolocation lookup when the page is mapped. However if a page is added to an already-mapped assistant, the child page is mapped immediately and not only when the child page is shown (this is normal, we've had the same behaviour historically with GtkNotebook). When a language is changed, the assistant is visible and has all of its child pages rebuilt in the new locale automatically. The result is that the timezone page cancels it's geolocation lookup immediately upon reconstruction, if a language is selected causing the assistant to rebuild.
Review of attachment 315728 [details] [review]: Thanks for tracking that down! Just a small nitpick: maybe keep the comment in the renamed function?
Review of attachment 315728 [details] [review]: I re-added the comment which I accidentally dropped, and pushed.