0.4.1 patches

svn: r334
This commit is contained in:
Don Allingham 2001-08-13 23:21:16 +00:00
parent 9f37cec960
commit f8ebc59218
3 changed files with 8 additions and 4 deletions

View File

@ -2,10 +2,12 @@ Version 0.4.1
* Tool/Report menus added to top level menu bar * Tool/Report menus added to top level menu bar
* Extract Titles and Nicknames plugin improved to provide more * Extract Titles and Nicknames plugin improved to provide more
information information
* Several bug fixes, including the problem of confusing father/ * Several bug fixes, including the problem of swapping father/
mother relationships in families mother relationships in families
* Significant improvements in speed for updating displays after * Significant improvements in speed for updating displays after
adding, editing, or deleting people, and for applying filters. adding, editing, or deleting people, and for applying filters.
* Added Bruce DeGrasse's Detailed Ancestral Report. This will
eventually replace the current Ancestral Report.
Version 0.4.0 Version 0.4.0
* Redesigned Family page. More complex family relationships can be * Redesigned Family page. More complex family relationships can be

View File

@ -775,8 +775,10 @@ def tool_callback(val):
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
def full_update(): def full_update():
global id2col global id2col
global alt2col
id2col = {} id2col = {}
alt2col = {}
person_list.clear() person_list.clear()
gtop.get_widget(NOTEBOOK).set_show_tabs(Config.usetabs) gtop.get_widget(NOTEBOOK).set_show_tabs(Config.usetabs)
clist = gtop.get_widget("child_list") clist = gtop.get_widget("child_list")
@ -2360,6 +2362,7 @@ def apply_filter():
if datacomp(person): if datacomp(person):
if id2col.has_key(person): if id2col.has_key(person):
new_alt2col[person] = alt2col[person]
continue continue
pos = (person,0) pos = (person,0)
id2col[person] = pos id2col[person] = pos

View File

@ -136,13 +136,12 @@ class CheckIntegrity:
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
def check_parent_relationships(self): def check_parent_relationships(self):
family_list = self.db.getFamilyMap().values()[:] for family in self.db.getFamilyMap().values():
for family in family_list:
father = family.getFather() father = family.getFather()
mother = family.getMother() mother = family.getMother()
type = family.getRelationship() type = family.getRelationship()
if not father or not mother: if father == None or mother == None:
continue continue
if type != "Partners": if type != "Partners":
if father.getGender() == mother.getGender(): if father.getGender() == mother.getGender():