From 9cc1017912552e18b02719fdb07a8cfe9b86928c Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 15 Feb 2014 20:26:14 -0800 Subject: [PATCH] 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 file changed, 5 deletions(-) diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index d35c97bb3..51fba64f8 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() {