[gnome-shell] iconGrid: don't force icon size to the BaseIcon



commit 9cc1017912552e18b02719fdb07a8cfe9b86928c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Feb 15 20:26:14 2014 -0800

    iconGrid: don't force icon size to the BaseIcon
    
    Since we might get a scaled up version for HiDpi.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705410

 js/ui/iconGrid.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index d35c97b..51fba64 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -143,11 +143,6 @@ const BaseIcon = new Lang.Class({
         this.icon = this.createIcon(this.iconSize);
 
         this._iconBin.child = this.icon;
-
-        // The icon returned by createIcon() might actually be smaller than
-        // the requested icon size (for instance StTextureCache does this
-        // for fallback icons), so set the size explicitly.
-        this._iconBin.set_size(this.iconSize, this.iconSize);
     },
 
     _onStyleChanged: function() {


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