* src/ChooseParents.py: remove TreeModelFilter stuff.
svn: r3840
This commit is contained in:
parent
ce6192ea46
commit
3400540229
@ -1,4 +1,5 @@
|
||||
2004-12-27 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/ChooseParents.py: remove TreeModelFilter stuff.
|
||||
* src/GenericFilter.py: Add a combobox that handles filter
|
||||
selection
|
||||
* src/PaperMenu.py: Add combobox classes to handle paper size
|
||||
|
@ -327,10 +327,8 @@ class ChooseParents:
|
||||
data = cursor.next()
|
||||
cursor.close()
|
||||
|
||||
self.father_model = gtk.TreeModelSort(self.father_nsort).filter_new()
|
||||
self.father_model.set_visible_column(PeopleModel.COLUMN_VIEW)
|
||||
self.father_model = gtk.TreeModelSort(self.father_nsort)
|
||||
self.father_list.set_model(self.father_model)
|
||||
self.father_model.refilter()
|
||||
|
||||
if self.type == RelLib.Family.CIVIL_UNION:
|
||||
self.flabel.set_label("<b>%s</b>" % _("Par_ent"))
|
||||
@ -353,10 +351,8 @@ class ChooseParents:
|
||||
data = cursor.next()
|
||||
cursor.close()
|
||||
|
||||
self.mother_model = gtk.TreeModelSort(self.mother_nsort).filter_new()
|
||||
self.mother_model.set_visible_column(PeopleModel.COLUMN_VIEW)
|
||||
self.mother_model = gtk.TreeModelSort(self.mother_nsort)
|
||||
self.mother_list.set_model(self.mother_model)
|
||||
self.mother_model.refilter()
|
||||
|
||||
if self.type == RelLib.Family.CIVIL_UNION:
|
||||
self.mlabel.set_label("<b>%s</b>" % _("Pa_rent"))
|
||||
|
Loading…
Reference in New Issue
Block a user