From 8c47f5d58241ad5da403d839376e875840dd57ed Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 25 Mar 2006 03:07:20 +0000 Subject: [PATCH] added repository reference editor svn: r6206 --- ChangeLog | 4 ++++ src/DdTargets.py | 4 ++-- src/DisplayTabs.py | 8 ++++---- src/Editors/Makefile.am | 1 + src/Editors/__init__.py | 1 + 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e78b05864..2a12ffe3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-03-24 Don Allingham + * src/Editors/Makefile.am: added _EditRepoRef.py + * src/Editors/_EditRepoRef.py: Added + 2006-03-23 Don Allingham * src/Editors/_EditFamily.py: fix arglist to save, handle add parent family switching. diff --git a/src/DdTargets.py b/src/DdTargets.py index ae124f002..4793c8790 100644 --- a/src/DdTargets.py +++ b/src/DdTargets.py @@ -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] diff --git a/src/DisplayTabs.py b/src/DisplayTabs.py index 14c4271ee..0fa170a30 100644 --- a/src/DisplayTabs.py +++ b/src/DisplayTabs.py @@ -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: diff --git a/src/Editors/Makefile.am b/src/Editors/Makefile.am index 509adb4d9..ee219ff84 100644 --- a/src/Editors/Makefile.am +++ b/src/Editors/Makefile.am @@ -21,6 +21,7 @@ pkgdata_PYTHON = \ _EditPrimary.py \ _EditReference.py \ _EditRepository.py \ + _EditRepoRef.py \ _EditSecondary.py \ _EditSource.py \ _EditSourceRef.py \ diff --git a/src/Editors/__init__.py b/src/Editors/__init__.py index 5b27e1994..2404e36b5 100644 --- a/src/Editors/__init__.py +++ b/src/Editors/__init__.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 *