extension-app: Use mnemonics in confirmation dialog
Mnemonics (aka "access keys") should be used whenever possible: https://developer.gnome.org/hig/guidelines/keyboard.html#access-keys They are currently missing from the confirmation dialog, add them. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051>
This commit is contained in:
parent
05c4db4372
commit
592ad186c6
@ -175,8 +175,8 @@ var ExtensionsWindow = GObject.registerClass({
|
||||
secondary_text: _('If you remove the extension, you need to return to download it if you want to enable it again'),
|
||||
});
|
||||
|
||||
dialog.add_button(_('Cancel'), Gtk.ResponseType.CANCEL);
|
||||
dialog.add_button(_('Remove'), Gtk.ResponseType.ACCEPT)
|
||||
dialog.add_button(_('_Cancel'), Gtk.ResponseType.CANCEL);
|
||||
dialog.add_button(_('_Remove'), Gtk.ResponseType.ACCEPT)
|
||||
.get_style_context().add_class('destructive-action');
|
||||
|
||||
dialog.connect('response', (dlg, response) => {
|
||||
|
Loading…
Reference in New Issue
Block a user