/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to viz/bzrkapp.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-19 16:37:13 UTC
  • Revision ID: jelmer@samba.org-20060519163713-be77b31c72cbc7e8
Move visualisation code to a separate directory, preparing for bundling 
the GTK+ plugins for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
    def show_diff(self, branch, revid, parentid):
38
38
        """Open a new window to show a diff between the given revisions."""
39
 
        window = DiffWindow()
40
 
        rev_tree = branch.repository.revision_tree(revid)
41
 
        parent_tree = branch.repository.revision_tree(parentid)
42
 
        description = revid + " - " + branch.nick
43
 
        window.set_diff(description, rev_tree, parent_tree)
 
39
        window = DiffWindow(self)
 
40
        window.set_diff(branch, revid, parentid)
44
41
        window.show()
45
42
 
46
43
    def _destroy_cb(self, widget):