GNOME Bugzilla – Bug 706635
Add gsetting for max-search-results
Last modified: 2013-08-27 23:32:55 UTC
Right now we don't set answer_count on our GeocodeForward object before searching, resulting in a default value of 10. Lets bump this to 25 and add a gsetting for it.
Created attachment 252815 [details] [review] Add new gsetting max-search-results
Review of attachment 252815 [details] [review]: ::: data/org.gnome.maps.gschema.xml.in @@ +27,3 @@ </key> + <key name="max-search-results" type="i"> + <default>25</default> With scrolled window in place, we only need this to not overwelm the resources or get maps stuck so we want a much larger value here, e.g 100? ::: src/mapView.js @@ +54,3 @@ Extends: GtkChamplain.Embed, + _init: function(overlay, answerCount) { I mapView itself should fetch the answerCount from gsetting.
Created attachment 252845 [details] [review] Add new gsetting max-search-results v2
Review of attachment 252845 [details] [review]: ACK though I'd want it to be pushed after bug#706636.
(In reply to comment #4) > Review of attachment 252845 [details] [review]: > > ACK though I'd want it to be pushed after bug#706636. I meant, at the same time. :)