Fix #1861 - AutoAdd Warning (column number is a boolean)

This commit is contained in:
Calum Lind 2011-05-28 00:14:01 +01:00
parent e0443943b5
commit 94a7b2ebf1
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ class GtkUI(GtkPluginBase):
def create_columns(self, treeView): def create_columns(self, treeView):
rendererToggle = gtk.CellRendererToggle() rendererToggle = gtk.CellRendererToggle()
column = gtk.TreeViewColumn( column = gtk.TreeViewColumn(
_("Active"), rendererToggle, activatable=True, active=1 _("Active"), rendererToggle, activatable=1, active=1
) )
column.set_sort_column_id(1) column.set_sort_column_id(1)
treeView.append_column(column) treeView.append_column(column)