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

  • Committer: Curtis Hovey
  • Date: 2011-09-03 01:29:14 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903012914-f36lv9j6ydblvbin
A quick spike to verify that subclassing TreeStore is easier than
implementing a TreeIter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        self.maxnum = maxnum
132
132
        self.compact = compact
133
133
 
134
 
        self.model = treemodel.TreeModel(self.branch, [])
 
134
        self.model = treemodel.BranchTreeModel(self.branch, [])
135
135
        GObject.idle_add(self.populate)
136
136
 
137
137
        self.connect("destroy", self._on_destroy)
320
320
                                                            self.mainline_only,
321
321
                                                            self.progress_bar)
322
322
 
323
 
            self.model.line_graph_data = linegraphdata
 
323
            self.model.set_line_graph_data(linegraphdata)
324
324
            self.graph_cell.columns_len = columns_len
325
325
            width = self.graph_cell.get_preferred_width(self.treeview)[1]
326
326
            if width > 500: