/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 13:19:58 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903131958-dvlxud881arul00m
Small performance improvement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
        self.graph_column.set_resizable(True)
396
396
        self.graph_column.set_sizing(Gtk.TreeViewColumnSizing.FIXED)
397
397
        self.graph_column.pack_start(self.graph_cell, True)
398
 
        self.graph_column.add_attribute(self.graph_cell, "node", treemodel.NODE)
399
 
        self.graph_column.add_attribute(self.graph_cell, "tags", treemodel.TAGS)
400
 
        self.graph_column.add_attribute(self.graph_cell, "in-lines", treemodel.LAST_LINES)
401
 
        self.graph_column.add_attribute(self.graph_cell, "out-lines", treemodel.LINES)
 
398
        self.graph_column.add_attribute(
 
399
            self.graph_cell, "node", treemodel.NODE)
 
400
        self.graph_column.add_attribute(
 
401
            self.graph_cell, "tags", treemodel.TAGS)
 
402
        self.graph_column.add_attribute(
 
403
            self.graph_cell, "in-lines", treemodel.LAST_LINES)
 
404
        self.graph_column.add_attribute(
 
405
            self.graph_cell, "out-lines", treemodel.LINES)
402
406
        self.treeview.append_column(self.graph_column)
403
407
 
404
408
        cell = Gtk.CellRendererText()