31
32
class TreeModel(gtk.GenericTreeModel):
34
35
def __init__ (self, branch, line_graph_data):
35
36
gtk.GenericTreeModel.__init__(self)
38
39
self.repository = branch.repository
39
40
self.line_graph_data = line_graph_data
47
48
return gtk.TREE_MODEL_LIST_ONLY
49
50
def on_get_n_columns(self):
52
53
def on_get_column_type(self, index):
53
54
if index == REVID: return gobject.TYPE_STRING