[gnome-shell] searchDisplay: Remove doSearch
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] searchDisplay: Remove doSearch
- Date: Thu, 14 Feb 2013 19:21:22 +0000 (UTC)
commit 569797d7c5c6268128c9ff20cd7adb57516f803f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 8 21:02:18 2013 -0500
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
js/ui/searchDisplay.js | 4 ----
js/ui/viewSelector.js | 2 +-
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 9ae993e..9c6c063 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -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)];
},
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index a87c54c..f2da6d1 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -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);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]