[gnome-shell] searchDisplay: Make renderResults private
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] searchDisplay: Make renderResults private
- Date: Wed, 29 May 2013 15:33:33 +0000 (UTC)
commit 9c94e9813c0996997285006e8d1eeb9057c06afa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 14 14:35:01 2013 -0500
searchDisplay: Make renderResults private
There's no need to call this from outside now.
https://bugzilla.gnome.org/show_bug.cgi?id=693836
js/ui/searchDisplay.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 8f8ccd4..d7831a4 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -226,7 +226,7 @@ const SearchResultsBase = new Lang.Class({
// content while filling in the results.
this.actor.hide();
- this.renderResults(metas);
+ this._renderResults(metas);
this._setMoreIconVisible(this.hasMoreResults() && this.provider.canLaunchSearch);
@@ -279,7 +279,7 @@ const ListSearchResults = new Lang.Class({
return this._content.get_n_children();
},
- renderResults: function(metas) {
+ _renderResults: function(metas) {
for (let i = 0; i < metas.length; i++) {
let display = new ListSearchResult(this.provider, metas[i], this._terms);
display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));
@@ -324,7 +324,7 @@ const GridSearchResults = new Lang.Class({
return this._grid.visibleItemsCount();
},
- renderResults: function(metas) {
+ _renderResults: function(metas) {
for (let i = 0; i < metas.length; i++) {
let display = new GridSearchResult(this.provider, metas[i], this._terms);
display.actor.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]