* src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs. svn: r6562
This commit is contained in:
parent
0594736fe0
commit
d78ef15ade
@ -1,4 +1,6 @@
|
|||||||
2006-05-05 Alex Roitman <shura@gramps-project.org>
|
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
|
* src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map
|
||||||
to the tuple of tables.
|
to the tuple of tables.
|
||||||
|
|
||||||
|
@ -49,7 +49,8 @@ import const
|
|||||||
import Utils
|
import Utils
|
||||||
import RelLib
|
import RelLib
|
||||||
|
|
||||||
from DisplayTabs import NoteTab,GalleryTab,SourceBackRefList
|
from DisplayTabs import \
|
||||||
|
NoteTab,GalleryTab,SourceBackRefList,DataEmbedList,RepoEmbedList
|
||||||
from GrampsWidgets import *
|
from GrampsWidgets import *
|
||||||
from _EditReference import EditReference
|
from _EditReference import EditReference
|
||||||
|
|
||||||
@ -150,6 +151,16 @@ class EditSourceRef(EditReference):
|
|||||||
GalleryTab(self.dbstate, self.uistate, self.track,
|
GalleryTab(self.dbstate, self.uistate, self.track,
|
||||||
self.source.get_media_list()))
|
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(
|
self.srcref_list = self._add_tab(
|
||||||
notebook_src,
|
notebook_src,
|
||||||
SourceBackRefList(self.dbstate,self.uistate, self.track,
|
SourceBackRefList(self.dbstate,self.uistate, self.track,
|
||||||
|
Loading…
Reference in New Issue
Block a user