* src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs. svn: r6562
This commit is contained in:
parent
121ead2906
commit
4b1d9e1a1b
@ -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.
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user