not just enter to click the button, but also button to have focus
This commit is contained in:
parent
5e2e95b54c
commit
ad3d571429
|
@ -499,6 +499,9 @@ class ConfirmationDialogCheck(ConfirmationDialog):
|
|||
|
||||
self.set_default_response(gtk.RESPONSE_OK)
|
||||
|
||||
ok_button = self.action_area.get_children()[0] # right to left
|
||||
ok_button.grab_focus()
|
||||
|
||||
self.checkbutton = gtk.CheckButton(checktext)
|
||||
self.vbox.pack_start(self.checkbutton, expand = False, fill = True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue