14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
23
""" Display Status window and perform the needed actions. """
29
25
def __init__(self, wt, wtpath, revision=None):
30
26
""" Initialize the Status window. """
31
super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_OK, gtk.RESPONSE_ACCEPT))
32
28
self.set_title("Working tree changes")
38
34
revision = self.wt.branch.last_revision()
40
36
# Set the old working tree
41
37
self.old_tree = self.wt.branch.repository.revision_tree(revision)