extensionPrefs: Fix pref button appearance
After the Adwaita refresh, the button shows up oval rather than circular. To address this, make sure that the "image-button" class is applied as well by using the dedicated setter function. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/482
This commit is contained in:
parent
f7d117488b
commit
5d9f80bc73
@ -551,7 +551,7 @@ class ExtensionRow extends Gtk.ListBoxRow {
|
||||
|
||||
let button = new Gtk.Button({ valign: Gtk.Align.CENTER,
|
||||
no_show_all: true });
|
||||
button.add(new Gtk.Image({ icon_name: 'emblem-system-symbolic',
|
||||
button.set_image(new Gtk.Image({ icon_name: 'emblem-system-symbolic',
|
||||
icon_size: Gtk.IconSize.BUTTON,
|
||||
visible: true }));
|
||||
button.get_style_context().add_class('circular');
|
||||
|
Loading…
Reference in New Issue
Block a user