* src/EditPerson.py: Remove unneeded arguments.
* src/Marriage.py: Remove unneeded arguments. svn: r4284
This commit is contained in:
parent
ea4beeb3ff
commit
a01d4401a3
@ -1,3 +1,7 @@
|
||||
2005-04-02 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/EditPerson.py: Remove unneeded arguments.
|
||||
* src/Marriage.py: Remove unneeded arguments.
|
||||
|
||||
2005-04-01 Don Allingham <don@gramps-project.org>
|
||||
* src/EditPerson.py: removed unused callback functions
|
||||
* src/GrampsDbBase.py: remove duplicate signal emissions
|
||||
|
@ -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"""
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user