fix import

svn: r6227
This commit is contained in:
Don Allingham 2006-03-30 01:57:34 +00:00
parent 071ae0ac9a
commit 16f06d787a
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
2006-03-29 Don Allingham <don@gramps-project.org> 2006-03-29 Don Allingham <don@gramps-project.org>
* src/DisplayTabs.py: fix import
* src/Editors/_EditPerson.py: Fix imports of EditMediaRef, remove * src/Editors/_EditPerson.py: Fix imports of EditMediaRef, remove
specific edit image from top image window. specific edit image from top image window.
* src/glade/gramps.glade: remove unused dialogs, replaced by * src/glade/gramps.glade: remove unused dialogs, replaced by

View File

@ -1457,6 +1457,8 @@ class GalleryTab(ButtonTab):
if src: if src:
sref = RelLib.MediaRef() sref = RelLib.MediaRef()
try: try:
from Editors import EditMediaRef
EditMediaRef(self.dbstate, self.uistate, self.track, EditMediaRef(self.dbstate, self.uistate, self.track,
src, sref, self.add_callback) src, sref, self.add_callback)
except Errors.WindowActiveError: except Errors.WindowActiveError: