From a1887f46b8a516e454783ffb528360f4868d84df Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 17 Oct 2007 03:15:10 +0000 Subject: [PATCH] 2007-10-16 Don Allingham * src/DataViews/_PersonView.py (PersonView.delete_person_response): use gen.utils.delete_person_from_database svn: r9199 --- ChangeLog | 4 ++++ src/DataViews/_PersonView.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcbf795b9..d58415257 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-16 Don Allingham + * src/DataViews/_PersonView.py (PersonView.delete_person_response): + use gen.utils.delete_person_from_database + 2007-10-16 Douglas S. Blank * src/plugins/Calendar.py: Fixed bug with maiden names, added some support for selecting name formats diff --git a/src/DataViews/_PersonView.py b/src/DataViews/_PersonView.py index 869bfc383..e39dd8141 100644 --- a/src/DataViews/_PersonView.py +++ b/src/DataViews/_PersonView.py @@ -60,7 +60,7 @@ import TreeTips import Errors import Config import const -import GrampsDb +import gen.utils from Editors import EditPerson from Filters import SearchBar @@ -629,7 +629,7 @@ class PersonView(PageView.PersonNavView): active_name = _("Delete Person (%s)") % name_displayer.display(person) # delete the person from the database - GrampsDb.delete_person_from_database(self.dbstate.db, person, trans) + gen.utils.delete_person_from_database(self.dbstate.db, person, trans) # remove the person from the list self.remove_from_person_list(person)