/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: Jelmer Vernooij
  • Date: 2011-02-18 13:16:37 UTC
  • mto: This revision was merged to the branch mainline in revision 714.
  • Revision ID: jelmer@samba.org-20110218131637-jo72qis53vvu0zud
'bzr viz' now shows authors instead of committers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
392
392
        cell = gtk.CellRendererText()
393
393
        cell.set_property("width-chars", 15)
394
394
        cell.set_property("ellipsize", pango.ELLIPSIZE_END)
395
 
        self.committer_column = gtk.TreeViewColumn("Committer")
396
 
        self.committer_column.set_resizable(False)
397
 
        self.committer_column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
398
 
        self.committer_column.set_fixed_width(200)
399
 
        self.committer_column.pack_start(cell, expand=True)
400
 
        self.committer_column.add_attribute(cell, "text", treemodel.COMMITTER)
401
 
        self.treeview.append_column(self.committer_column)
 
395
        self.authors_column = gtk.TreeViewColumn("Author(s)")
 
396
        self.authors_column.set_resizable(False)
 
397
        self.authors_column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
 
398
        self.authors_column.set_fixed_width(200)
 
399
        self.authors_column.pack_start(cell, expand=True)
 
400
        self.authors_column.add_attribute(cell, "text", treemodel.AUTHORS)
 
401
        self.treeview.append_column(self.authors_column)
402
402
 
403
403
        cell = gtk.CellRendererText()
404
404
        cell.set_property("width-chars", 20)