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