/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: 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:
55
55
        else:
56
56
            self.compact_view = False
57
57
 
58
 
        self.set_title(branch.nick + " - revision history")
 
58
        self.set_title(branch._get_nick(local=True) + " - revision history")
59
59
 
60
60
        # user-configured window size
61
61
        size = self._load_size('viz-window-size')
624
624
        rev_tree    = self.branch.repository.revision_tree(revid)
625
625
        parent_tree = self.branch.repository.revision_tree(parentid)
626
626
 
627
 
        description = revid + " - " + self.branch.nick
 
627
        description = revid + " - " + self.branch._get_nick(local=True)
628
628
        window.set_diff(description, rev_tree, parent_tree)
629
629
        window.show()
630
630