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
This commit is contained in:
Florian Müllner 2011-02-25 22:53:53 +01:00
parent 7723e59a72
commit 34ce17c4b3
2 changed files with 6 additions and 11 deletions

View File

@ -534,7 +534,11 @@ StTooltip StLabel {
.icon-grid { .icon-grid {
spacing: 36px; spacing: 36px;
-shell-grid-item-size: 70px; -shell-grid-item-size: 118px;
}
.icon-grid .overview-icon {
icon-size: 96px;
} }
.all-app { .all-app {
@ -542,15 +546,6 @@ StTooltip StLabel {
spacing: 20px; spacing: 20px;
} }
.all-app .icon-grid {
-shell-grid-item-size: 118px;
}
.all-app .overview-icon {
icon-size: 96px;
}
.app-filter { .app-filter {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;

View File

@ -13,7 +13,7 @@ const Main = imports.ui.main;
const Overview = imports.ui.overview; const Overview = imports.ui.overview;
const Search = imports.ui.search; const Search = imports.ui.search;
const MAX_SEARCH_RESULTS_ROWS = 2; const MAX_SEARCH_RESULTS_ROWS = 1;
function SearchResult(provider, metaInfo, terms) { function SearchResult(provider, metaInfo, terms) {