/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 annotate/gannotate.py

  • Committer: Aaron Bentley
  • Date: 2006-06-19 16:04:41 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: abentley@panoramicfeedback.com-20060619160441-b0dd213a9ff31e2d
Gannotate-launched diffs now jump to correct file

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        self.revisions = {}
61
61
        self.annotations = []
62
62
        self.branch = branch
 
63
        self.file_id = file_id
63
64
        
64
65
        # [revision id, line number, committer, revno, highlight color, line]
65
66
        self.annomodel = gtk.ListStore(gobject.TYPE_STRING,
209
210
        from bzrlib.plugins.gtk.viz.diffwin import DiffWindow
210
211
        window = DiffWindow()
211
212
        window.set_diff("Diff for row %d" % row, tree1, tree2)
 
213
        window.set_file(tree1.id2path(self.file_id))
212
214
        window.show()
213
215
 
214
216