GNOME Bugzilla – Bug 788282
dialog: Fix setting buttons as initial key focus
Last modified: 2017-10-04 16:28:23 UTC
See patch.
Created attachment 360591 [details] [review] dialog: Fix setting buttons as initial key focus Commit 1c7a3ee61b1892 broke setting the initial key focus for default buttons added via addButton(). Fix this by allowing the dialog class to provide a different default widget to ModalDialog than the entire dialog itself.
I tested this out and was able to configure modal dialogs to provide a default button with initial key focus.
Review of attachment 360591 [details] [review]: looks good to me
Attachment 360591 [details] pushed as 0b02f75 - dialog: Fix setting buttons as initial key focus