Last column is an integer, not general object

svn: r17566
This commit is contained in:
Benny Malengier 2011-05-26 08:18:06 +00:00
parent ff638d041b
commit 610442278c

View File

@ -110,8 +110,13 @@ class ColumnOrder(gtk.VBox):
hbox.pack_start(btns, expand=False)
self.pack_start(hbox)
#Model holds:
# bool: column visible or not
# str : name of the column
# int : order of the column
# int : size (width) of the column
self.model = gtk.ListStore(gobject.TYPE_BOOLEAN, gobject.TYPE_STRING,
gobject.TYPE_INT, object)
gobject.TYPE_INT, gobject.TYPE_INT)
self.tree.set_model(self.model)