[gnome-shell] search-result: Use a larger icon size



commit 34ce17c4b372ba0149a79bbbd6d2d58bf16825ad
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Feb 25 22:53:53 2011 +0100

    search-result: Use a larger icon size
    
    Increase the icon size of search results for consistency with the
    application view. To account for the larger icons, only display
    a single row of results per section.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=643632

 data/theme/gnome-shell.css |   15 +++++----------
 js/ui/searchDisplay.js     |    2 +-
 2 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index c7d875a..6531238 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -534,22 +534,17 @@ StTooltip StLabel {
 
 .icon-grid {
     spacing: 36px;
-    -shell-grid-item-size: 70px;
-}
-
-.all-app {
-    padding: 16px 25px 16px 16px;
-    spacing: 20px;
-}
-
-.all-app .icon-grid {
     -shell-grid-item-size: 118px;
 }
 
-.all-app .overview-icon {
+.icon-grid .overview-icon {
     icon-size: 96px;
 }
 
+.all-app {
+    padding: 16px 25px 16px 16px;
+    spacing: 20px;
+}
 
 .app-filter {
     font-size: 14px;
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index 485620c..0527d8f 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -13,7 +13,7 @@ const Main = imports.ui.main;
 const Overview = imports.ui.overview;
 const Search = imports.ui.search;
 
-const MAX_SEARCH_RESULTS_ROWS = 2;
+const MAX_SEARCH_RESULTS_ROWS = 1;
 
 
 function SearchResult(provider, metaInfo, terms) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]