From 8019fe8cc1940362b631cefeddbdd50026756cb0 Mon Sep 17 00:00:00 2001 From: Tom Perez <60866122+tper0700@users.noreply.github.com> Date: Fri, 1 May 2020 02:31:28 -0700 Subject: [PATCH 1/3] Use transparent backgrounds for show-apps-icon --- appIcons.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appIcons.js b/appIcons.js index 3347de4..bf8b0ea 100644 --- a/appIcons.js +++ b/appIcons.js @@ -1622,12 +1622,17 @@ var ShowAppsIconWrapper = Utils.defineClass({ let customIconPath = Me.settings.get_string('show-apps-icon-file'); + this.actor.set_style("background-color: transparent;"); + this.realShowAppsIcon.icon.set_style("background-color: transparent;"); + this.realShowAppsIcon.icon.createIcon = function(size) { this._iconActor = new St.Icon({ icon_name: 'view' + (Config.PACKAGE_VERSION < '3.20' ? '' : '-app') + '-grid-symbolic', icon_size: size, style_class: 'show-apps-icon', track_hover: true }); + this._iconActor.set_style("background-color: transparent;"); + if (customIconPath) { this._iconActor.gicon = new Gio.FileIcon({ file: Gio.File.new_for_path(customIconPath) }); } From a40e7074e054cf1a2016988e5136677a3b442c31 Mon Sep 17 00:00:00 2001 From: Tom Perez <60866122+tper0700@users.noreply.github.com> Date: Sun, 17 May 2020 00:15:08 -0700 Subject: [PATCH 2/3] Revert "Use transparent backgrounds for show-apps-icon" This reverts commit 8019fe8cc1940362b631cefeddbdd50026756cb0. --- appIcons.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/appIcons.js b/appIcons.js index bf8b0ea..3347de4 100644 --- a/appIcons.js +++ b/appIcons.js @@ -1622,17 +1622,12 @@ var ShowAppsIconWrapper = Utils.defineClass({ let customIconPath = Me.settings.get_string('show-apps-icon-file'); - this.actor.set_style("background-color: transparent;"); - this.realShowAppsIcon.icon.set_style("background-color: transparent;"); - this.realShowAppsIcon.icon.createIcon = function(size) { this._iconActor = new St.Icon({ icon_name: 'view' + (Config.PACKAGE_VERSION < '3.20' ? '' : '-app') + '-grid-symbolic', icon_size: size, style_class: 'show-apps-icon', track_hover: true }); - this._iconActor.set_style("background-color: transparent;"); - if (customIconPath) { this._iconActor.gicon = new Gio.FileIcon({ file: Gio.File.new_for_path(customIconPath) }); } From 5243edd92fa3d2283a8772ffa160426b4532d430 Mon Sep 17 00:00:00 2001 From: Tom Perez <60866122+tper0700@users.noreply.github.com> Date: Sun, 17 May 2020 00:22:29 -0700 Subject: [PATCH 3/3] Override show-apps background for transparent icons. --- stylesheet.css | 1 + 1 file changed, 1 insertion(+) diff --git a/stylesheet.css b/stylesheet.css index 4a7a6b6..4d4e748 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -31,6 +31,7 @@ border: none; margin: 0; padding: 0; + background: none; } #dashtopanelScrollview .app-well-app .overview-label {