diff --git a/src/AddSpouse.py b/src/AddSpouse.py
index 8ab8504a9..7dad57ec3 100644
--- a/src/AddSpouse.py
+++ b/src/AddSpouse.py
@@ -154,7 +154,7 @@ class AddSpouse:
person.setGender(gen)
EditPerson.EditPerson(person,self.db,self.update_list)
- def update_list(self,epo,list):
+ def update_list(self,epo):
"""
Updates the potential spouse list after a person has been added
to database. Called by the QuickAdd class when the dialog has
diff --git a/src/ChooseParents.py b/src/ChooseParents.py
index eb2f22532..44d2c9f30 100644
--- a/src/ChooseParents.py
+++ b/src/ChooseParents.py
@@ -424,7 +424,7 @@ class ChooseParents:
self.change_family_type(self.family,mother_rel,father_rel)
self.family_update(None)
- def add_new_parent(self,epo,plist):
+ def add_new_parent(self,epo):
"""Adds a new person to either the father list or the mother list,
depending on the gender of the person."""
diff --git a/src/EditPerson.py b/src/EditPerson.py
index ba27aa1f8..62882d4b7 100644
--- a/src/EditPerson.py
+++ b/src/EditPerson.py
@@ -1529,7 +1529,7 @@ class EditPerson:
self.update_lists()
if self.callback:
- self.callback(self,self.add_places)
+ self.callback(self)
self.gallery.close()
self.window.destroy()
diff --git a/src/FamilyView.py b/src/FamilyView.py
index 156d041b2..c90a024b4 100644
--- a/src/FamilyView.py
+++ b/src/FamilyView.py
@@ -548,19 +548,17 @@ class FamilyView:
except:
DisplayTrace.DisplayTrace()
- def spouse_after_edit(self,epo,plist):
+ def spouse_after_edit(self,epo):
ap = self.parent.active_person
if epo:
self.parent.db.buildPersonDisplay(epo.person.getId(),epo.original_id)
self.parent.people_view.remove_from_person_list(epo.person,epo.original_id)
self.parent.people_view.redisplay_person_list(epo.person)
- for p in plist:
- self.parent.place_view.new_place_after_edit(p)
self.parent.active_person = ap
self.load_family(self.family)
- def new_spouse_after_edit(self,epo,plist):
+ def new_spouse_after_edit(self,epo):
if epo.person.getId() == "":
self.parent.db.addPerson(epo.person)
else:
@@ -622,7 +620,7 @@ class FamilyView:
self.parent.update_person_list(person)
self.load_family(self.family)
- def new_child_after_edit(self,epo,plist):
+ def new_child_after_edit(self,epo):
if epo.person.getId() == "":
self.parent.db.addPerson(epo.person)
diff --git a/src/gramps_main.py b/src/gramps_main.py
index 31b3004d8..ea675a756 100755
--- a/src/gramps_main.py
+++ b/src/gramps_main.py
@@ -1580,7 +1580,7 @@ class Gramps:
filter.hide()
filter.set_sensitive(qual)
- def new_after_edit(self,epo,plist):
+ def new_after_edit(self,epo):
if epo:
if epo.person.getId() == "":
self.db.addPerson(epo.person)
@@ -1591,8 +1591,6 @@ class Gramps:
self.people_view.redisplay_person_list(epo.person)
if self.views.get_current_page() in [FAMILY_VIEW1,FAMILY_VIEW2]:
self.family_view.load_family()
- for p in plist:
- self.place_view.new_place_after_edit(p)
def update_after_newchild(self,family,person,plist):
self.family_view.load_family(family)
@@ -1600,13 +1598,11 @@ class Gramps:
for p in plist:
self.place_view.new_place_after_edit(p)
- def update_after_edit(self,epo,plist):
+ def update_after_edit(self,epo):
if epo:
self.db.buildPersonDisplay(epo.person.getId(),epo.original_id)
self.people_view.remove_from_person_list(epo.person,epo.original_id)
self.people_view.redisplay_person_list(epo.person)
- for p in plist:
- self.place_view.new_place_after_edit(p)
self.update_display(0)
def update_after_merge(self,person,old_id):
diff --git a/src/revision.glade b/src/revision.glade
index bf78160d7..b3232a4b9 100644
--- a/src/revision.glade
+++ b/src/revision.glade
@@ -62,7 +62,6 @@
True
GTK_RELIEF_NORMAL
-11
-