kbdA11yDialog: Remove styleClass argument from DialogContent params
The MessageDialogContent class does not have a styleClass param, also using the "access-dialog" css class doesn't make sense for this dialog, so just remove that param. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/962
This commit is contained in:
parent
6c1cd1d8be
commit
7388e4006a
@ -49,10 +49,8 @@ class KbdA11yDialog extends GObject.Object {
|
||||
return;
|
||||
}
|
||||
|
||||
let contentParams = { title, description, styleClass: 'access-dialog' };
|
||||
let content = new Dialog.MessageDialogContent(contentParams);
|
||||
|
||||
dialog.contentLayout.add_actor(content);
|
||||
let content = new Dialog.MessageDialogContent({ title, description });
|
||||
dialog.contentLayout.add_child(content);
|
||||
|
||||
dialog.addButton({ label: enabled ? _("Leave On") : _("Turn On"),
|
||||
action: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user