* src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data

and repository tabs.


svn: r6562
This commit is contained in:
Alex Roitman 2006-05-06 05:20:19 +00:00
parent 121ead2906
commit 4b1d9e1a1b
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-05-05 Alex Roitman <shura@gramps-project.org>
* 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.

View File

@ -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,