From b833aff3c826ff23bf91a7be2e194365731af864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 27 Mar 2012 19:38:23 +0200 Subject: [PATCH] baseIcon: Always recreate icon texture on style changes Commit 26580f8f reintroduced an optimization on style changes to avoid creating icons unconditionally. As this breaks icon theme changes (for instance when toggling "High Contrast" in the universal access menu), remove it again. https://bugzilla.gnome.org/show_bug.cgi?id=672941 --- js/ui/iconGrid.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 54b792a07..ef71bc7a0 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -146,11 +146,6 @@ const BaseIcon = new Lang.Class({ size = found ? len : ICON_SIZE; } - // don't create icons unnecessarily - if (size == this.iconSize && - this._iconBin.child) - return; - this._createIconTexture(size); } });