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

  • Committer: Jelmer Vernooij
  • Date: 2007-10-31 02:11:04 UTC
  • Revision ID: jelmer@samba.org-20071031021104-sivvm8lfgam8l1xt
Use repository instead of branch in more places, to make it easier to support multiple branches in viz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        :param maxnum: Maximum number of revisions to display, or None 
125
125
                       for no limit.
126
126
        """
127
 
        (linegraphdata, index, columns_len) = linegraph(self.branch,
 
127
        (linegraphdata, index, columns_len) = linegraph(self.branch.repository,
128
128
                                                        start,
129
129
                                                        maxnum)
130
130
 
131
 
        self.model = TreeModel(self.branch, linegraphdata)
 
131
        self.model = TreeModel(self.branch.repository, linegraphdata)
132
132
        self.graph_cell.columns_len = columns_len
133
133
        width = self.graph_cell.get_size(self.treeview)[2]
134
134
        self.graph_column.set_fixed_width(width)