* src/plugins/Check.py: Import const module.

* src/PedView.py: Add person to the list even if there are no parents.


svn: r3466
This commit is contained in:
Alex Roitman 2004-08-22 01:41:53 +00:00
parent cb66941d56
commit 41e0ff14a8
3 changed files with 7 additions and 4 deletions

View File

@ -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 <dallingham@users.sourceforge.net>
* src/gramps_main.py: update family display after EditPerson
* src/EditPerson.py: fix callback

View File

@ -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:

View File

@ -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
#-------------------------------------------------------------------------