[gnome-shell] searchDisplay: Remove a couple of no longer used variables
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] searchDisplay: Remove a couple of no longer used variables
- Date: Mon, 7 May 2012 19:47:21 +0000 (UTC)
commit 0862d1c804aae6c6ae3ce790e17c22f81d8c37f3
Author: Rui Matos <tiagomatos gmail com>
Date: Mon May 7 17:42:05 2012 +0200
searchDisplay: Remove a couple of no longer used variables
https://bugzilla.gnome.org/show_bug.cgi?id=675328
js/ui/searchDisplay.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 1305479..f3facd9 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -208,10 +208,8 @@ const SearchResults = new Lang.Class({
this._content.add(this._statusText);
this._providers = this._searchSystem.getProviders();
this._providerMeta = [];
- this._providerMetaResults = {};
for (let i = 0; i < this._providers.length; i++) {
this.createProviderMeta(this._providers[i]);
- this._providerMetaResults[this.providers[i].title] = [];
}
this._searchProvidersBox = new St.BoxLayout({ style_class: 'search-providers-box' });
this.actor.add(this._searchProvidersBox);
@@ -301,7 +299,6 @@ const SearchResults = new Lang.Class({
},
_clearDisplay: function() {
- this._visibleResultsCount = 0;
for (let i = 0; i < this._providerMeta.length; i++) {
let meta = this._providerMeta[i];
meta.resultDisplay.clear();
@@ -380,7 +377,6 @@ const SearchResults = new Lang.Class({
this._clearDisplayForProvider(provider);
meta.resultDisplay.setResults([], []);
} else {
- this._providerMetaResults[provider.title] = providerResults;
meta.resultDisplay.setResults(providerResults, terms);
let results = meta.resultDisplay.getResultsForDisplay();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]