31
33
class TreeModel(gtk.GenericTreeModel):
34
36
def __init__ (self, branch, line_graph_data):
35
37
gtk.GenericTreeModel.__init__(self)
38
40
self.repository = branch.repository
39
41
self.line_graph_data = line_graph_data
42
56
return gtk.TREE_MODEL_LIST_ONLY
44
58
def on_get_n_columns(self):
47
61
def on_get_column_type(self, index):
48
62
if index == REVID: return gobject.TYPE_STRING