From d78ef15adeb570cb27e6f4e857bf03b296f04d67 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sat, 6 May 2006 05:20:19 +0000 Subject: [PATCH] * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data and repository tabs. svn: r6562 --- gramps2/ChangeLog | 2 ++ gramps2/src/Editors/_EditSourceRef.py | 13 ++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index fec320555..44c9ab0e4 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-05-05 Alex Roitman + * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data + and repository tabs. * src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map to the tuple of tables. diff --git a/gramps2/src/Editors/_EditSourceRef.py b/gramps2/src/Editors/_EditSourceRef.py index aa0dd3afb..c85d3c0d1 100644 --- a/gramps2/src/Editors/_EditSourceRef.py +++ b/gramps2/src/Editors/_EditSourceRef.py @@ -49,7 +49,8 @@ import const import Utils import RelLib -from DisplayTabs import NoteTab,GalleryTab,SourceBackRefList +from DisplayTabs import \ + NoteTab,GalleryTab,SourceBackRefList,DataEmbedList,RepoEmbedList from GrampsWidgets import * from _EditReference import EditReference @@ -150,6 +151,16 @@ class EditSourceRef(EditReference): GalleryTab(self.dbstate, self.uistate, self.track, self.source.get_media_list())) + self.data_tab = self._add_tab( + notebook_src, + DataEmbedList(self.dbstate, self.uistate, self.track, + self.source)) + + self.repo_tab = self._add_tab( + notebook_src, + RepoEmbedList(self.dbstate, self.uistate, self.track, + self.source.get_reporef_list())) + self.srcref_list = self._add_tab( notebook_src, SourceBackRefList(self.dbstate,self.uistate, self.track,