fix expansion in edit groups dialog

This commit is contained in:
Nikos Kouremenos 2005-08-29 00:01:43 +00:00
parent a4d7e26ab4
commit 4443c7a3be
1 changed files with 2 additions and 0 deletions

View File

@ -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)