fix expansion in edit groups dialog
This commit is contained in:
parent
a4d7e26ab4
commit
4443c7a3be
|
@ -119,12 +119,14 @@ class EditGroupsDialog:
|
||||||
else:
|
else:
|
||||||
store.set(iter, 1, False)
|
store.set(iter, 1, False)
|
||||||
column = gtk.TreeViewColumn(_('Group'))
|
column = gtk.TreeViewColumn(_('Group'))
|
||||||
|
column.set_expand(True)
|
||||||
self.list.append_column(column)
|
self.list.append_column(column)
|
||||||
renderer = gtk.CellRendererText()
|
renderer = gtk.CellRendererText()
|
||||||
column.pack_start(renderer)
|
column.pack_start(renderer)
|
||||||
column.set_attributes(renderer, text = 0)
|
column.set_attributes(renderer, text = 0)
|
||||||
|
|
||||||
column = gtk.TreeViewColumn(_('In the group'))
|
column = gtk.TreeViewColumn(_('In the group'))
|
||||||
|
column.set_expand(False)
|
||||||
self.list.append_column(column)
|
self.list.append_column(column)
|
||||||
renderer = gtk.CellRendererToggle()
|
renderer = gtk.CellRendererToggle()
|
||||||
column.pack_start(renderer)
|
column.pack_start(renderer)
|
||||||
|
|
Loading…
Reference in New Issue