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:
Jasper St. Pierre 2013-02-08 21:02:18 -05:00
parent 35a7c94cd1
commit 569797d7c5
2 changed files with 1 additions and 5 deletions

View File

@ -432,10 +432,6 @@ const SearchResults = new Lang.Class({
this._statusBin.show();
},
doSearch: function (searchString) {
this._searchSystem.updateSearch(searchString);
},
_metaForProvider: function(provider) {
return this._providerMeta[this._providers.indexOf(provider)];
},

View File

@ -423,7 +423,7 @@ const ViewSelector = new Lang.Class({
_doSearch: function () {
this._searchTimeoutId = 0;
this._searchResults.doSearch(this._text.text);
this._searchSystem.updateSearch(this._text.text);
this._showPage(this._searchPage);
},