lookingGlass: Use symbolic icon for close button

As per commit 4d2dce2c, the actual close button is generated using custom css
and a symbolic icon.

Apply the same change to lookingGlass too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/425
This commit is contained in:
Marco Trevisan (Treviño) 2019-02-28 16:20:47 +01:00
parent f5144ec899
commit d78b416e1a

View File

@ -382,6 +382,7 @@ var ObjInspector = class ObjInspector {
} }
button = new St.Button({ style_class: 'window-close' }); button = new St.Button({ style_class: 'window-close' });
button.add_actor(new St.Icon({ icon_name: 'window-close-symbolic' }));
button.connect('clicked', this.close.bind(this)); button.connect('clicked', this.close.bind(this));
hbox.add(button); hbox.add(button);
if (typeof(obj) == typeof({})) { if (typeof(obj) == typeof({})) {