/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 olive/menu.py

  • Committer: Daniel Schierbeck
  • Date: 2007-10-14 15:33:50 UTC
  • mto: This revision was merged to the branch mainline in revision 317.
  • Revision ID: daniel.schierbeck@gmail.com-20071014153350-ejjs1qt77w66fzzr
Refactored the GTK window code, creating a single base window class that handles keyboard events.

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
    def diff(self, action):
303
303
        """ Right context menu -> Diff """
304
304
        wt = WorkingTree.open_containing(self.path)[0]
305
 
        window = DiffWindow()
 
305
        window = DiffWindow(self.app)
306
306
        parent_tree = wt.branch.repository.revision_tree(wt.branch.last_revision())
307
307
        window.set_diff(wt.branch.nick, wt, parent_tree)
308
308
        window.set_file(wt.relpath(self.path + os.sep + self.selected))