not just enter to click the button, but also button to have focus
This commit is contained in:
parent
5e2e95b54c
commit
ad3d571429
1 changed files with 3 additions and 0 deletions
|
@ -499,6 +499,9 @@ class ConfirmationDialogCheck(ConfirmationDialog):
|
||||||
|
|
||||||
self.set_default_response(gtk.RESPONSE_OK)
|
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.checkbutton = gtk.CheckButton(checktext)
|
||||||
self.vbox.pack_start(self.checkbutton, expand = False, fill = True)
|
self.vbox.pack_start(self.checkbutton, expand = False, fill = True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue