/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/branchwin.py

  • Committer: Daniel Schierbeck
  • Date: 2007-10-14 01:02:38 UTC
  • Revision ID: daniel.schierbeck@gmail.com-20071014010238-6axx7nks1zxds7s8
Made the diff viewer close on Ctrl-W and Ctrl-Q.

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
    def show_diff(self, branch, revid, parentid):
294
294
        """Open a new window to show a diff between the given revisions."""
295
295
        from bzrlib.plugins.gtk.diff import DiffWindow
296
 
        window = DiffWindow()
 
296
        window = DiffWindow(parent=self)
297
297
        (parent_tree, rev_tree) = branch.repository.revision_trees([parentid, 
298
298
                                                                   revid])
299
299
        description = revid + " - " + branch.nick