GNOME Bugzilla – Bug 745025
Context.has_scores() is no longer usable
Last modified: 2015-03-03 23:22:04 UTC
We had to stop loading scores during Context creation, which I started doing yesterday, because the user has to first create the context to connect to the category-request signal before loading can work. (We used to have documentation on this but I think it was in the TODO file so got deleted.) This means the game can no longer use Context.has_score(), which we added yesterday, to figure out whether the scores dialog should be sensitive or not. We need to load scores when that function is called. We might even warn if scores are loaded in any other situation.
Created attachment 298484 [details] [review] Load scores in has_scores() Wouldn't this be enough? I'm not very familiar with the library.
Yeah, that should work. It was not a very hard problem. :D