searchDisplay: Remove doSearch
This is nothing but a middle man, as the view selector already owns the search system. We want to start being a bit more tricky with what we do with the search system so that we ignore whitespace, so let's cut the middle-man out now. https://bugzilla.gnome.org/show_bug.cgi?id=693458
This commit is contained in:
parent
35a7c94cd1
commit
569797d7c5
@ -432,10 +432,6 @@ const SearchResults = new Lang.Class({
|
|||||||
this._statusBin.show();
|
this._statusBin.show();
|
||||||
},
|
},
|
||||||
|
|
||||||
doSearch: function (searchString) {
|
|
||||||
this._searchSystem.updateSearch(searchString);
|
|
||||||
},
|
|
||||||
|
|
||||||
_metaForProvider: function(provider) {
|
_metaForProvider: function(provider) {
|
||||||
return this._providerMeta[this._providers.indexOf(provider)];
|
return this._providerMeta[this._providers.indexOf(provider)];
|
||||||
},
|
},
|
||||||
|
@ -423,7 +423,7 @@ const ViewSelector = new Lang.Class({
|
|||||||
|
|
||||||
_doSearch: function () {
|
_doSearch: function () {
|
||||||
this._searchTimeoutId = 0;
|
this._searchTimeoutId = 0;
|
||||||
this._searchResults.doSearch(this._text.text);
|
this._searchSystem.updateSearch(this._text.text);
|
||||||
|
|
||||||
this._showPage(this._searchPage);
|
this._showPage(this._searchPage);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user