[gnome-shell] dash: Increase the maximum icon size



commit 7372308270c003e4ee81eee7c1d0fa64f9044a60
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Feb 9 23:40:48 2011 +0100

    dash: Increase the maximum icon size
    
    With the labels removed from dash items, we can potentially use
    a larger icon size, so add 64 to the list of icon sizes and use
    it by default.

 js/ui/dash.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 0456de8..e4d18ab 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -249,7 +249,7 @@ function Dash() {
 Dash.prototype = {
     _init : function() {
         this._maxHeight = -1;
-        this._iconSize = 48;
+        this._iconSize = 64;
         this._shownInitially = false;
 
         this._dragPlaceholder = null;
@@ -413,7 +413,7 @@ Dash.prototype = {
         let [minHeight, natHeight] = this.actor.get_preferred_height(-1);
         let diff = (this._maxHeight - natHeight) / iconChildren.length;
 
-        let iconSizes = [ 16, 22, 24, 32, 48 ];
+        let iconSizes = [ 16, 22, 24, 32, 48, 64 ];
 
         let newIconSize = 16;
         for (let i = 0; i < iconSizes.length; i++) {



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