/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/__init__.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:
726
726
    
727
727
    def on_menuitem_stats_diff_activate(self, widget):
728
728
        """ Statistics/Differences... menu handler. """
729
 
        window = DiffWindow()
 
729
        window = DiffWindow(parent=self.window)
730
730
        parent_tree = self.wt.branch.repository.revision_tree(self.wt.branch.last_revision())
731
731
        window.set_diff(self.wt.branch.nick, self.wt, parent_tree)
732
732
        window.show()