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,