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

  • Committer: John Arbash Meinel
  • Date: 2007-11-02 22:29:12 UTC
  • mfrom: (330 trunk)
  • mto: (330.3.3 trunk)
  • mto: This revision was merged to the branch mainline in revision 368.
  • Revision ID: john@arbash-meinel.com-20071102222912-ei8ll3bla3w2h2gp
Merge in trunk, and update logview per-file commit messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
class TreeModel(gtk.GenericTreeModel):
30
30
 
31
31
    
32
 
    def __init__ (self, branch, line_graph_data):
 
32
    def __init__ (self, repository, line_graph_data):
33
33
        gtk.GenericTreeModel.__init__(self)
34
34
        self.revisions = {}
35
 
        self.branch = branch
 
35
        self.repository = repository
36
36
        self.line_graph_data = line_graph_data
37
37
    
38
38
    def on_get_flags(self):
76
76
                                      for revno in revno_sequence])
77
77
        
78
78
        if revid not in self.revisions:
79
 
            revision = self.branch.repository.get_revisions([revid])[0]
 
79
            revision = self.repository.get_revisions([revid])[0]
80
80
            self.revisions[revid] = revision
81
81
        else:
82
82
            revision = self.revisions[revid]