/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: Jelmer Vernooij
  • Date: 2009-05-04 20:06:58 UTC
  • Revision ID: jelmer@samba.org-20090504200658-n6hsag1soygn3n1o
Use _get_nick(local=True) rather than .nick to get at a branches' nick, since 
the previous might check the nickname of the master branch, which will be slow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
665
665
        """ Statistics/Differences... menu handler. """
666
666
        window = DiffWindow(parent=self.window)
667
667
        parent_tree = self.wt.branch.repository.revision_tree(self.wt.branch.last_revision())
668
 
        window.set_diff(self.wt.branch.nick, self.wt, parent_tree)
 
668
        window.set_diff(self.wt.branch._get_nick(local=True), self.wt, 
 
669
                        parent_tree)
669
670
        window.show()
670
671
    
671
672
    def on_menuitem_stats_infos_activate(self, widget):