From 809d92129b5856b081dbf08632daa4614669e82c Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 18 Jan 2019 13:17:21 +0000 Subject: [PATCH] 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 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/357 --- js/ui/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/search.js b/js/ui/search.js index 4adf50217..16bd8cf20 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -473,6 +473,7 @@ var SearchResults = new Lang.Class({ }, _registerProvider(provider) { + provider.searchInProgress = false; this._providers.push(provider); this._ensureProviderDisplay(provider); },