From 778ef365d9ce90f28f03f3758fa9c2bd631d4736 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 29 Sep 2014 18:51:24 -0700 Subject: [PATCH] search: hide provider actors when they're created When the overview is created, search is populated with one actor for each provider. As they're not hidden though, they will contribute to the overall size request of the search page, which will shift upwards the overview grid. Reviewed-By: Jasper St. Pierre --- js/ui/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/search.js b/js/ui/search.js index 8d41ae6cc..8e6b1ddb4 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -535,6 +535,7 @@ const SearchResults = new Lang.Class({ providerDisplay = new GridSearchResults(provider, this.actor); providerDisplay.connect('key-focus-in', Lang.bind(this, this._keyFocusIn)); + providerDisplay.actor.hide(); this._content.add(providerDisplay.actor); provider.display = providerDisplay; },