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
23
28
""" Display Status window and perform the needed actions. """
25
29
def __init__(self, wt, wtpath, revision=None):
26
30
""" Initialize the Status window. """
31
super(StatusDialog, self).__init__(flags=gtk.DIALOG_MODAL, buttons=(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE))
28
32
self.set_title("Working tree changes")
34
39
revision = self.wt.branch.last_revision()
36
41
# Set the old working tree
37
42
self.old_tree = self.wt.branch.repository.revision_tree(revision)