theme: Drop custom assets for window close buttons in overview

They can be replaced by a themed icon and some CSS styling.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/782
This commit is contained in:
Sam Hewitt
2018-11-16 11:15:44 -05:00
committed by Florian Müllner
parent 27c660d2a9
commit 4d2dce2c52
6 changed files with 20 additions and 257 deletions

View File

@ -473,6 +473,7 @@ var WindowOverlay = new Lang.Class({
});
let button = new St.Button({ style_class: 'window-close' });
button.add_actor(new St.Icon({ icon_name: 'window-close-symbolic' }));
button._overlap = 0;
this._idleToggleCloseId = 0;