added repository reference editor
svn: r6206
This commit is contained in:
parent
814b5b77b1
commit
f2899fb596
@ -1,3 +1,7 @@
|
||||
2006-03-24 Don Allingham <don@gramps-project.org>
|
||||
* src/Editors/Makefile.am: added _EditRepoRef.py
|
||||
* src/Editors/_EditRepoRef.py: Added
|
||||
|
||||
2006-03-23 Don Allingham <don@gramps-project.org>
|
||||
* src/Editors/_EditFamily.py: fix arglist to save, handle add parent
|
||||
family switching.
|
||||
|
@ -135,13 +135,13 @@ class _DdTargets(object):
|
||||
self.ATTRIBUTE,
|
||||
self.ADDRESS,
|
||||
self.LOCATION,
|
||||
self.SOURCE_LINK,
|
||||
self.SOURCEREF,
|
||||
self.EVENTREF,
|
||||
self.NAME,
|
||||
self.REPO_LINK,
|
||||
self.REPOREF,
|
||||
self.MEDIAOBJ,
|
||||
self.REPO_LINK,
|
||||
self.SOURCE_LINK,
|
||||
self.PERSON_LINK,
|
||||
self.PERSON_LINK_LIST]
|
||||
|
||||
|
@ -1510,9 +1510,9 @@ class RepoEmbedList(EmbeddedList):
|
||||
try:
|
||||
ref = RelLib.RepoRef()
|
||||
repo = self.dbstate.db.get_repository_from_handle(obj)
|
||||
EditRepoRef.EditRepoRef(
|
||||
EditRepoRef(
|
||||
self.dbstate,self.uistate,self.track,
|
||||
repo, ref, self.obj, self.add_callback)
|
||||
repo, ref, self.add_callback)
|
||||
except Errors.WindowActiveError:
|
||||
pass
|
||||
|
||||
@ -1522,7 +1522,7 @@ class RepoEmbedList(EmbeddedList):
|
||||
ref = RelLib.RepoRef()
|
||||
repo = RelLib.Repository()
|
||||
try:
|
||||
EditRepoRef.EditRepoRef(
|
||||
EditRepoRef(
|
||||
self.dbstate, self.uistate, self.track,
|
||||
repo, ref, self.add_callback)
|
||||
except Errors.WindowActiveError:
|
||||
@ -1541,7 +1541,7 @@ class RepoEmbedList(EmbeddedList):
|
||||
if ref:
|
||||
repo = self.dbstate.db.get_repository_from_handle(ref.ref)
|
||||
try:
|
||||
Editors.EditRepoRef(
|
||||
EditRepoRef(
|
||||
self.dbstate, self.uistate, self.track, repo,
|
||||
ref, self.edit_callback)
|
||||
except Errors.WindowActiveError:
|
||||
|
@ -21,6 +21,7 @@ pkgdata_PYTHON = \
|
||||
_EditPrimary.py \
|
||||
_EditReference.py \
|
||||
_EditRepository.py \
|
||||
_EditRepoRef.py \
|
||||
_EditSecondary.py \
|
||||
_EditSource.py \
|
||||
_EditSourceRef.py \
|
||||
|
@ -30,6 +30,7 @@ from _EditName import *
|
||||
from _EditPerson import *
|
||||
from _EditPlace import *
|
||||
from _EditRepository import *
|
||||
from _EditRepoRef import *
|
||||
from _EditSource import *
|
||||
from _EditSourceRef import *
|
||||
from _EditUrl import *
|
||||
|
Loading…
Reference in New Issue
Block a user