From 6eb3a62e2b307d0b8d3175238d88c4b12e15913b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 18 Jul 2019 00:39:49 +0200 Subject: [PATCH] apps-menu: Add drop-shadow to application icons ... to make sure they are readable on light backgrounds. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/168 --- extensions/apps-menu/extension.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js index 342049c4..9667d3f2 100644 --- a/extensions/apps-menu/extension.js +++ b/extensions/apps-menu/extension.js @@ -90,7 +90,9 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem { } _updateIcon() { - this._iconBin.set_child(this.getDragActor()); + let icon = this.getDragActor(); + icon.style_class = 'icon-dropshadow'; + this._iconBin.set_child(icon); } });