5321: Remove markup from all columns except for the birth and death dates

svn: r18358
This commit is contained in:
Nick Hall 2011-10-22 22:15:21 +00:00
parent 038636591f
commit 12cee2f5c7

View File

@ -182,7 +182,10 @@ class ChildEmbedList(EmbeddedList):
continue
name = self._column_names[pair[1]][0]
render = gtk.CellRendererText()
if pair[1] in (6, 7): # date columns
column = gtk.TreeViewColumn(name, render, markup=pair[1])
else:
column = gtk.TreeViewColumn(name, render, text=pair[1])
column.set_min_width(50)
column.set_resizable(True)