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