not just enter to click the button, but also button to have focus

This commit is contained in:
Nikos Kouremenos 2005-09-11 18:05:18 +00:00
parent 5e2e95b54c
commit ad3d571429
1 changed files with 3 additions and 0 deletions

View File

@ -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)