Changeset 184afd8d769e…
Parent c4d14541d711…
by
Changes to one file · Browse files at 184afd8d769e Showing diff from parent c4d14541d711 Diff from another changeset...
@@ -74,12 +74,10 @@ class Confirm(SimpleMessage):
"""Dialog returns gtk.RESPONSE_YES or gtk.RESPONSE_NO
"""
- def __init__(self, title, files, parent, primary=None):
+ def __init__(self, title, files, parent, primary):
SimpleMessage.__init__(self, parent, gtk.DIALOG_MODAL,
gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO)
self.set_title(hglib.toutf(title))
- if primary is None:
- primary = title + '?'
primary = '<b>' + primary + '</b>'
self.set_markup(hglib.toutf(primary))
message = ''
|
Loading...