From c70d7119308ef82ace824719c847e7f7b7f6f0f8 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 9 Oct 2006 02:45:26 +0000 Subject: [PATCH] * src/Editors/_EditPlace.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditPersonRef.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditPerson.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditName.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditMediaRef.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditMedia.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditFamily.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditLdsOrd.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditEventRef.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditEvent.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditChildRef.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditAttribute.py (_create_tabbed_pages): Fix sources. * src/Editors/_EditAddress.py (_create_tabbed_pages): Fix sources. svn: r7373 --- gramps2/ChangeLog | 13 +++++++++++++ gramps2/src/Editors/_EditAddress.py | 3 +-- gramps2/src/Editors/_EditAttribute.py | 3 +-- gramps2/src/Editors/_EditChildRef.py | 3 +-- gramps2/src/Editors/_EditEvent.py | 3 +-- gramps2/src/Editors/_EditEventRef.py | 3 +-- gramps2/src/Editors/_EditFamily.py | 3 +-- gramps2/src/Editors/_EditLdsOrd.py | 6 ++---- gramps2/src/Editors/_EditMedia.py | 6 ++---- gramps2/src/Editors/_EditMediaRef.py | 8 ++++---- gramps2/src/Editors/_EditName.py | 3 +-- gramps2/src/Editors/_EditPerson.py | 3 +-- gramps2/src/Editors/_EditPersonRef.py | 3 +-- gramps2/src/Editors/_EditPlace.py | 3 +-- 14 files changed, 31 insertions(+), 32 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2ee6a2af9..490ebfe6b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -5,6 +5,19 @@ * src/DisplayTabs/_EmbeddedList.py: remove debug 2006-10-08 Alex Roitman + * src/Editors/_EditPlace.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditPersonRef.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditPerson.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditName.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditMediaRef.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditMedia.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditFamily.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditLdsOrd.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditEventRef.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditEvent.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditChildRef.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditAttribute.py (_create_tabbed_pages): Fix sources. + * src/Editors/_EditAddress.py (_create_tabbed_pages): Fix sources. * src/RelLib/_Location.py (set_county, get_county): Move into LocationBase class. * src/RelLib/_LocationBase.py (set_county, get_county): Move from diff --git a/gramps2/src/Editors/_EditAddress.py b/gramps2/src/Editors/_EditAddress.py index a4cb360a7..ec6a4882a 100644 --- a/gramps2/src/Editors/_EditAddress.py +++ b/gramps2/src/Editors/_EditAddress.py @@ -125,8 +125,7 @@ class EditAddress(EditSecondary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditAttribute.py b/gramps2/src/Editors/_EditAttribute.py index 2f774d1dc..8539e8b5a 100644 --- a/gramps2/src/Editors/_EditAttribute.py +++ b/gramps2/src/Editors/_EditAttribute.py @@ -107,8 +107,7 @@ class EditAttribute(EditSecondary): notebook = gtk.Notebook() self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditChildRef.py b/gramps2/src/Editors/_EditChildRef.py index a06132a73..3c88ca80a 100644 --- a/gramps2/src/Editors/_EditChildRef.py +++ b/gramps2/src/Editors/_EditChildRef.py @@ -115,8 +115,7 @@ class EditChildRef(EditSecondary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditEvent.py b/gramps2/src/Editors/_EditEvent.py index 054514e86..f429713ca 100644 --- a/gramps2/src/Editors/_EditEvent.py +++ b/gramps2/src/Editors/_EditEvent.py @@ -151,8 +151,7 @@ class EditEvent(EditPrimary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditEventRef.py b/gramps2/src/Editors/_EditEventRef.py index 65d7eb0a3..1e2e92fbf 100644 --- a/gramps2/src/Editors/_EditEventRef.py +++ b/gramps2/src/Editors/_EditEventRef.py @@ -153,8 +153,7 @@ class EditEventRef(EditReference): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.source)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.source)) try: self.attr_list = self._add_tab( diff --git a/gramps2/src/Editors/_EditFamily.py b/gramps2/src/Editors/_EditFamily.py index 6435659ff..7e16edf96 100644 --- a/gramps2/src/Editors/_EditFamily.py +++ b/gramps2/src/Editors/_EditFamily.py @@ -527,8 +527,7 @@ class EditFamily(EditPrimary): self.src_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, - self.track,self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.attr_list = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditLdsOrd.py b/gramps2/src/Editors/_EditLdsOrd.py index ad11501da..f40acf32d 100644 --- a/gramps2/src/Editors/_EditLdsOrd.py +++ b/gramps2/src/Editors/_EditLdsOrd.py @@ -242,8 +242,7 @@ class EditLdsOrd(EditSecondary): notebook = gtk.Notebook() self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate, self.track,self.obj)) self.note_tab = self._add_tab( notebook, @@ -405,8 +404,7 @@ class EditFamilyLdsOrd(EditSecondary): notebook = gtk.Notebook() self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate, self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditMedia.py b/gramps2/src/Editors/_EditMedia.py index e0965cbf9..64853b131 100644 --- a/gramps2/src/Editors/_EditMedia.py +++ b/gramps2/src/Editors/_EditMedia.py @@ -124,8 +124,7 @@ class EditMedia(EditPrimary): if self.obj.get_mime_type(): self.src_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, - self.track,self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.attr_list = self._add_tab( notebook, @@ -144,8 +143,7 @@ class EditMedia(EditPrimary): self.src_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, - self.track,self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.attr_list = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditMediaRef.py b/gramps2/src/Editors/_EditMediaRef.py index de962987a..01ec28849 100644 --- a/gramps2/src/Editors/_EditMediaRef.py +++ b/gramps2/src/Editors/_EditMediaRef.py @@ -134,8 +134,8 @@ class EditMediaRef(EditReference): self.srcref_list = self._add_tab( notebook_ref, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.source_ref.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track, + self.source_ref)) self.attr_list = self._add_tab( notebook_ref, @@ -156,8 +156,8 @@ class EditMediaRef(EditReference): self.src_srcref_list = self._add_tab( notebook_src, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.source.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track, + self.source)) self.src_attr_list = self._add_tab( notebook_src, diff --git a/gramps2/src/Editors/_EditName.py b/gramps2/src/Editors/_EditName.py index 9efe8e8a8..53651afc3 100644 --- a/gramps2/src/Editors/_EditName.py +++ b/gramps2/src/Editors/_EditName.py @@ -180,8 +180,7 @@ class EditName(EditSecondary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditPerson.py b/gramps2/src/Editors/_EditPerson.py index 962bb895c..4a367420d 100644 --- a/gramps2/src/Editors/_EditPerson.py +++ b/gramps2/src/Editors/_EditPerson.py @@ -264,8 +264,7 @@ class EditPerson(EditPrimary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate, self.uistate, - self.track, self.obj)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.attr_list = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditPersonRef.py b/gramps2/src/Editors/_EditPersonRef.py index ac4ed6c4e..bd01cc28f 100644 --- a/gramps2/src/Editors/_EditPersonRef.py +++ b/gramps2/src/Editors/_EditPersonRef.py @@ -120,8 +120,7 @@ class EditPersonRef(EditSecondary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook, diff --git a/gramps2/src/Editors/_EditPlace.py b/gramps2/src/Editors/_EditPlace.py index b5753481b..cbed8e4b2 100644 --- a/gramps2/src/Editors/_EditPlace.py +++ b/gramps2/src/Editors/_EditPlace.py @@ -155,8 +155,7 @@ class EditPlace(EditPrimary): self.srcref_list = self._add_tab( notebook, - SourceEmbedList(self.dbstate,self.uistate, self.track, - self.obj.source_list)) + SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj)) self.note_tab = self._add_tab( notebook,