/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: Sergei Golubchik
  • Date: 2011-02-01 17:18:37 UTC
  • mto: This revision was merged to the branch mainline in revision 708.
  • Revision ID: sergii@pisem.net-20110201171837-nn3txojjtrxouxtt
* make sure that gdiff opened from gannotate knows its parent
  (gannotate, that is, and does not exit when it (gdiff) is closed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
            else:
261
261
                tree2 = repository.revision_tree(NULL_REVISION)
262
262
        from bzrlib.plugins.gtk.diff import DiffWindow
263
 
        window = DiffWindow()
 
263
        window = DiffWindow(self)
264
264
        window.set_diff("Diff for line %d" % (row+1), tree1, tree2)
265
265
        window.set_file(tree1.id2path(self.file_id))
266
266
        window.show()