GNOME Bugzilla – Bug 726154
wizard: Focus Create button on last page
Last modified: 2016-03-31 13:22:07 UTC
Please take a look at the appended patch.
Created attachment 271576 [details] [review] wizard: Focus Create button on last page Since the wizard supports Alt + Left and Alt + Right for navigation, it is consistent to focus the Create button on the last page to allow a confirmation via enter.
Review of attachment 271576 [details] [review]: Good stuff! ::: src/wizard.vala @@ +98,3 @@ review.begin ((obj, result) => { next_button.sensitive = true; + if (next_button == create_button) this check is redundant. If you want to ensure that you are focusing the right button, just do create_button.grab_focus() then.
Created attachment 271655 [details] [review] wizard: Focus Create button on last page Since the wizard supports Alt + Left and Alt + Right for navigation, it is consistent to focus the Create button on the last page to allow a confirmation via enter.
Review of attachment 271655 [details] [review]: ack
Attachment 271655 [details] pushed as fb4a786 - wizard: Focus Create button on last page