Add tree_invisible on tree view

This commit is contained in:
Cédric Krier committed 2008-06-03 15:51:37 +02:00
1 parent 4cf3cd5a47
commit 1d23ae5065
1 file changed
+2 -1
+2 -1
View File
@@ -49,8 +49,9 @@ class Parse(object):
column.pack_start(cell, expand=False)
column.add_attribute(cell, 'active', self.pos)
self.pos += 1
column.set_resizable(1)
self.fields_order.append(str(attrs['name']))
column.set_resizable(True)
column.set_visible(not attrs.get('tree_invisible', False))
self.tree.append_column(column)
else:
import logging