diff --git a/ChangeLog b/ChangeLog index 9066d4568..085a14baa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,6 +34,9 @@ parse_adopt_event): Don't include "@" signs into family gramps id. * src/PedView.py (find_tree): Correctly retrieve parents. + * src/plugins/Check.py: Import const module. + * src/PedView.py: Add person to the list even if there are no parents. + 2004-08-20 Don Allingham * src/gramps_main.py: update family display after EditPerson * src/EditPerson.py: fix callback diff --git a/src/PedView.py b/src/PedView.py index a2b4b4ee5..0a8b237ee 100644 --- a/src/PedView.py +++ b/src/PedView.py @@ -484,6 +484,7 @@ class PedigreeView: if depth > 5 or person == None: return + lst[index] = (person,val) parent_families = person.get_parent_family_handle_list() if parent_families: @@ -495,7 +496,6 @@ class PedigreeView: frel = (f != "Birth") family = self.parent.db.get_family_from_handle(family_handle) - lst[index] = (person,val) if family != None: father_handle = family.get_father_handle() if father_handle != None: diff --git a/src/plugins/Check.py b/src/plugins/Check.py index 068bd8bb4..f1fe0afe7 100644 --- a/src/plugins/Check.py +++ b/src/plugins/Check.py @@ -30,6 +30,7 @@ import os import cStringIO import shutil +from gettext import gettext as _ #------------------------------------------------------------------------- # @@ -41,13 +42,12 @@ import gtk.glade #------------------------------------------------------------------------- # -# gtk modules +# GRAMPS modules # #------------------------------------------------------------------------- import RelLib import Utils - -from gettext import gettext as _ +import const from QuestionDialog import OkDialog, MissingMediaDialog #-------------------------------------------------------------------------