merge fix for LP #245733

This commit is contained in:
Chris Jones 2008-07-05 17:26:41 +01:00
commit f67f8f29ef
1 changed files with 4 additions and 2 deletions

View File

@ -195,8 +195,10 @@ class Terminator:
return False
# show dialog
dialog = gtk.Dialog (_("Close?"), window, gtk.DIALOG_MODAL,
(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, gtk.STOCK_CLOSE, gtk.RESPONSE_ACCEPT))
dialog = gtk.Dialog (_("Close?"), window, gtk.DIALOG_MODAL)
cancel = dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT)
close_all = dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_ACCEPT)
label = close_all.get_children()[0].get_children()[0].get_children()[1].set_label(_("Close _All Terminals"))
dialog.set_has_separator (False)
dialog.set_resizable (False)