diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7700cbf05..1d23de16b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-04-02 Martin Hawlisch + * src/EditPerson.py: Remove unneeded arguments. + * src/Marriage.py: Remove unneeded arguments. + 2005-04-01 Don Allingham * src/EditPerson.py: removed unused callback functions * src/GrampsDbBase.py: remove duplicate signal emissions diff --git a/gramps2/src/EditPerson.py b/gramps2/src/EditPerson.py index 74fab0ab2..2f1e4efa4 100644 --- a/gramps2/src/EditPerson.py +++ b/gramps2/src/EditPerson.py @@ -1456,8 +1456,7 @@ class EditPerson: attr = self.atree.get_object(node) pname = self.name_display.display(self.person) AttrEdit.AttributeEditor(self,attr,pname,const.personalAttributes, - self.attr_edit_callback,self.window, - self.update_sources) + self.attr_edit_callback,self.window) def on_update_addr_clicked(self,obj): import AddrEdit @@ -1465,7 +1464,7 @@ class EditPerson: if node: AddrEdit.AddressEditor( self, self.ptree.get_object(node), self.addr_edit_callback, - self.window, self.update_sources) + self.window) def on_update_url_clicked(self,obj): import UrlEdit @@ -1650,8 +1649,7 @@ class EditPerson: store,node = self.ntree.get_selected() if node: NameEdit.NameEditor(self, self.ntree.get_object(node), - self.name_edit_callback, self.window, - self.update_sources) + self.name_edit_callback, self.window) def load_photo(self,photo): """loads, scales, and displays the person's main photo""" diff --git a/gramps2/src/Marriage.py b/gramps2/src/Marriage.py index 0f66d8336..56a94a9b2 100644 --- a/gramps2/src/Marriage.py +++ b/gramps2/src/Marriage.py @@ -801,7 +801,7 @@ class Marriage: name = NameDisplay.displayer.display(mother) AttrEdit.AttributeEditor( self, attr, name, const.familyAttributes, - self.attr_edit_callback, self.window, self.update_sources) + self.attr_edit_callback, self.window) def on_delete_attr_clicked(self,obj): if Utils.delete_selected(obj,self.alist): @@ -824,7 +824,7 @@ class Marriage: name = NameDisplay.displayer.display(mother) AttrEdit.AttributeEditor( self, None, name, const.familyAttributes, - self.attr_edit_callback, self.window, self.update_sources) + self.attr_edit_callback, self.window) def move_element(self,list,src,dest): if src == -1: