search: Initialise searchInProgress when search providers are registered
This avoids the following warning sometimes happening later: JS WARNING: [resource:///org/gnome/shell/ui/search.js 701]: reference to undefined property "searchInProgress" Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/357
This commit is contained in:
parent
8840608a25
commit
809d92129b
@ -473,6 +473,7 @@ var SearchResults = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_registerProvider(provider) {
|
_registerProvider(provider) {
|
||||||
|
provider.searchInProgress = false;
|
||||||
this._providers.push(provider);
|
this._providers.push(provider);
|
||||||
this._ensureProviderDisplay(provider);
|
this._ensureProviderDisplay(provider);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user