diff --git a/src/gtkexcepthook.py b/src/gtkexcepthook.py index 70405fb82..89c8cef23 100644 --- a/src/gtkexcepthook.py +++ b/src/gtkexcepthook.py @@ -51,9 +51,11 @@ def _info(type, value, tb): #FIXME: add icon to this button RESPONSE_REPORT_BUG = 42 - dialog.add_buttons(_('_Report Bug'), RESPONSE_REPORT_BUG, - gtk.STOCK_CLOSE, gtk.BUTTONS_CLOSE) + dialog.add_buttons(gtk.STOCK_CLOSE, gtk.BUTTONS_CLOSE, + _('_Report Bug'), RESPONSE_REPORT_BUG) dialog.set_default_response(RESPONSE_REPORT_BUG) + report_button = dialog.action_area.get_children()[0] # right to left + report_button.grab_focus() # Details textview = gtk.TextView()