[gnome-shell] searchDisplay: Update the selection for async searches without results
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] searchDisplay: Update the selection for async searches without results
- Date: Sat, 7 Apr 2012 13:17:00 +0000 (UTC)
commit 168e9eeac123d608316cb33a2acd7cdebf5f30a7
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Apr 5 15:48:30 2012 +0200
searchDisplay: Update the selection for async searches without results
This ensures that the initial selection is always set correctly. We
were missing the empty async search results case.
https://bugzilla.gnome.org/show_bug.cgi?id=673233
js/ui/searchDisplay.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index aeb6cf7..3c16e56 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -407,6 +407,7 @@ const SearchResults = new Lang.Class({
meta.resultDisplay.renderResults(metas);
}
}
+ this._maybeSetInitialSelection();
},
_updateResults: function(searchSystem, results) {
@@ -433,7 +434,6 @@ const SearchResults = new Lang.Class({
this._updateProviderResults(provider, providerResults, terms);
}
- this._maybeSetInitialSelection();
this._content.show();
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]