28
28
""" Display Status window and perform the needed actions. """
29
29
def __init__(self, wt, wtpath, revision=None):
30
30
""" Initialize the Status window. """
31
super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
31
super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE))
32
32
self.set_title("Working tree changes")
38
39
revision = self.wt.branch.last_revision()