2007-10-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py (PersonView.delete_person_response): use gen.utils.delete_person_from_database svn: r9199
This commit is contained in:
parent
d24ef026a9
commit
a1887f46b8
@ -1,3 +1,7 @@
|
||||
2007-10-16 Don Allingham <don@gramps-project.org>
|
||||
* src/DataViews/_PersonView.py (PersonView.delete_person_response):
|
||||
use gen.utils.delete_person_from_database
|
||||
|
||||
2007-10-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||
* src/plugins/Calendar.py: Fixed bug with maiden names, added some support for selecting name formats
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user