* src/Editors/_EditEvent.py: first attribute tab THEN backref
	* src/DisplayTabs/_BackRefList.py: whitespace change
	* src/gen/lib/repo.py: correct error with source backref too
	* src/gen/lib/personref.py:
	* src/gen/lib/mediaref.py:
	* src/gen/lib/childref.py:
	* src/gen/lib/place.py:
	* src/gen/lib/address.py:
	* src/gen/lib/src.py:
	* src/gen/lib/person.py:
	* src/gen/lib/mediaobj.py:
	* src/gen/lib/eventref.py:
	* src/gen/lib/name.py:
	* src/gen/lib/family.py:
	* src/gen/lib/event.py:
	* src/gen/lib/ldsord.py:
	Add get_note_child_list method to allow recursive deletion of notes in
	child objects
	* src/gen/lib/notebase.py: add remove_note that recursively searches
		in the child secondary objects
	* src/plugins/Check.py: fix broken note links, fix broken repo-source link



svn: r9507
This commit is contained in:
Benny Malengier
2007-12-14 22:18:19 +00:00
parent 662c35f10f
commit 00511a133f
19 changed files with 408 additions and 31 deletions

View File

@ -99,6 +99,15 @@ class MediaRef(SecondaryObject, PrivacyBase, SourceBase, NoteBase, RefBase,
"""
return self.attribute_list
def get_note_child_list(self):
"""
Returns the list of child secondary objects that may refer notes.
@return: Returns the list of child secondary child objects that may refer notes.
@rtype: list
"""
return self.attribute_list + self.source_list
def get_referenced_handles(self):
"""
Returns the list of (classname,handle) tuples for all directly