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_CLOSE, gtk.RESPONSE_CLOSE))
 
 
31
        super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
 
32
32
        self.set_title("Working tree changes")
 
39
38
            revision = self.wt.branch.last_revision()