2006-05-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: custom menus * src/Editors/_EditLdsOrd.py: custom menus * src/Editors/_EditSourceRef.py: custom menus * src/Editors/_EditSource.py: custom menus * src/Editors/_EditRepoRef.py: custom menus * src/Editors/_EditUrl.py: custom menus * src/Editors/_EditAttribute.py: custom menus * src/Editors/_EditPerson.py: custom menus * src/Editors/_EditLocation.py: custom menus * src/Editors/_EditMediaRef.py: custom menus * src/Editors/_EditEventRef.py: custom menus * src/Editors/_EditMedia.py: custom menus * src/Editors/_EditRepository.py: custom menus * src/Editors/_EditName.py: custom menus * src/Editors/_EditChildRef.py: custom menus * src/Editors/_EditFamily.py: custom menus * src/Editors/_EditEvent.py: custom menus svn: r6734
This commit is contained in:
@@ -46,7 +46,6 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Utils
|
||||
import RelLib
|
||||
|
||||
from DisplayTabs import NoteTab,AddrEmbedList,WebEmbedList,SourceBackRefList
|
||||
@@ -99,13 +98,17 @@ class EditRepoRef(EditReference):
|
||||
self.type_selector = MonitoredDataType(
|
||||
self.top.get_widget("media_type"),
|
||||
self.source_ref.set_media_type,
|
||||
self.source_ref.get_media_type
|
||||
self.source_ref.get_media_type,
|
||||
self.db.readonly,
|
||||
self.db.get_source_media_types(),
|
||||
)
|
||||
|
||||
self.media_type_selector = MonitoredDataType(
|
||||
self.top.get_widget("repo_type"),
|
||||
self.source.set_type,
|
||||
self.source.get_type
|
||||
self.source.get_type,
|
||||
self.db.readonly,
|
||||
self.db.get_repository_types(),
|
||||
)
|
||||
|
||||
def _create_tabbed_pages(self):
|
||||
|
||||
Reference in New Issue
Block a user