From 2f1c04169ad7dd9819710e201e96dc298f2281a4 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 16 Dec 2009 06:11:06 +0000 Subject: [PATCH] move src/DisplayTabs/* to src/gui/editors/displaytabs as part of GEP008 svn: r13821 --- configure.in | 2 +- po/POTFILES.in | 84 +++++++++---------- src/DisplayTabs/Makefile.am | 59 ------------- src/DisplayTabs/__init__.py | 60 ------------- src/FilterEditor/Makefile.am | 2 +- src/Makefile.am | 1 - src/gui/editors/Makefile.am | 5 +- src/gui/editors/displaytabs/Makefile.am | 59 +++++++++++++ src/gui/editors/displaytabs/__init__.py | 60 +++++++++++++ .../editors/displaytabs/addrembedlist.py} | 4 +- .../editors/displaytabs/addressmodel.py} | 0 .../editors/displaytabs/attrembedlist.py} | 4 +- .../editors/displaytabs/attrmodel.py} | 0 .../editors/displaytabs/backreflist.py} | 2 +- .../editors/displaytabs/backrefmodel.py} | 0 .../editors/displaytabs/buttontab.py} | 2 +- .../editors/displaytabs/childmodel.py} | 0 .../editors/displaytabs/dataembedlist.py} | 4 +- .../editors/displaytabs/datamodel.py} | 0 .../editors/displaytabs/embeddedlist.py} | 2 +- .../editors/displaytabs/eventbackreflist.py} | 4 +- .../editors/displaytabs/eventembedlist.py} | 4 +- .../editors/displaytabs/eventrefmodel.py} | 0 .../displaytabs/familyattrembedlist.py} | 2 +- .../displaytabs/familyldsembedlist.py} | 2 +- .../editors/displaytabs/gallerytab.py} | 2 +- .../editors/displaytabs/grampstab.py} | 0 .../editors/displaytabs/groupembeddedlist.py} | 3 +- .../editors/displaytabs/ldsembedlist.py} | 4 +- .../editors/displaytabs/ldsmodel.py} | 0 .../editors/displaytabs/locationembedlist.py} | 4 +- .../editors/displaytabs/locationmodel.py} | 0 .../editors/displaytabs/mediabackreflist.py} | 4 +- .../editors/displaytabs/nameembedlist.py} | 4 +- .../editors/displaytabs/namemodel.py} | 0 .../editors/displaytabs/notebackreflist.py} | 4 +- .../editors/displaytabs/notemodel.py} | 0 .../editors/displaytabs/notetab.py} | 4 +- .../editors/displaytabs/personbackreflist.py} | 4 +- .../displaytabs/personeventembedlist.py} | 4 +- .../displaytabs/personrefembedlist.py} | 4 +- .../editors/displaytabs/personrefmodel.py} | 0 .../editors/displaytabs/placebackreflist.py} | 4 +- .../editors/displaytabs/repoembedlist.py} | 4 +- .../editors/displaytabs/reporefmodel.py} | 0 .../editors/displaytabs/sourcebackreflist.py} | 4 +- .../editors/displaytabs/sourceembedlist.py} | 4 +- .../editors/displaytabs/sourcerefmodel.py} | 0 .../editors/displaytabs/webembedlist.py} | 4 +- .../editors/displaytabs/webmodel.py} | 0 src/gui/editors/editaddress.py | 2 +- src/gui/editors/editattribute.py | 2 +- src/gui/editors/editchildref.py | 2 +- src/gui/editors/editevent.py | 2 +- src/gui/editors/editeventref.py | 2 +- src/gui/editors/editfamily.py | 4 +- src/gui/editors/editldsord.py | 2 +- src/gui/editors/editmedia.py | 2 +- src/gui/editors/editmediaref.py | 2 +- src/gui/editors/editname.py | 2 +- src/gui/editors/editnote.py | 2 +- src/gui/editors/editperson.py | 2 +- src/gui/editors/editpersonref.py | 2 +- src/gui/editors/editplace.py | 2 +- src/gui/editors/editreference.py | 2 +- src/gui/editors/editreporef.py | 2 +- src/gui/editors/editrepository.py | 2 +- src/gui/editors/editsource.py | 2 +- src/gui/editors/editsourceref.py | 2 +- 69 files changed, 232 insertions(+), 231 deletions(-) delete mode 100644 src/DisplayTabs/Makefile.am delete mode 100644 src/DisplayTabs/__init__.py create mode 100644 src/gui/editors/displaytabs/Makefile.am create mode 100644 src/gui/editors/displaytabs/__init__.py rename src/{DisplayTabs/_AddrEmbedList.py => gui/editors/displaytabs/addrembedlist.py} (97%) rename src/{DisplayTabs/_AddressModel.py => gui/editors/displaytabs/addressmodel.py} (100%) rename src/{DisplayTabs/_AttrEmbedList.py => gui/editors/displaytabs/attrembedlist.py} (97%) rename src/{DisplayTabs/_AttrModel.py => gui/editors/displaytabs/attrmodel.py} (100%) rename src/{DisplayTabs/_BackRefList.py => gui/editors/displaytabs/backreflist.py} (99%) rename src/{DisplayTabs/_BackRefModel.py => gui/editors/displaytabs/backrefmodel.py} (100%) rename src/{DisplayTabs/_ButtonTab.py => gui/editors/displaytabs/buttontab.py} (99%) rename src/{DisplayTabs/_ChildModel.py => gui/editors/displaytabs/childmodel.py} (100%) rename src/{DisplayTabs/_DataEmbedList.py => gui/editors/displaytabs/dataembedlist.py} (97%) rename src/{DisplayTabs/_DataModel.py => gui/editors/displaytabs/datamodel.py} (100%) rename src/{DisplayTabs/_EmbeddedList.py => gui/editors/displaytabs/embeddedlist.py} (99%) rename src/{DisplayTabs/_EventBackRefList.py => gui/editors/displaytabs/eventbackreflist.py} (94%) rename src/{DisplayTabs/_EventEmbedList.py => gui/editors/displaytabs/eventembedlist.py} (99%) rename src/{DisplayTabs/_EventRefModel.py => gui/editors/displaytabs/eventrefmodel.py} (100%) rename src/{DisplayTabs/_FamilyAttrEmbedList.py => gui/editors/displaytabs/familyattrembedlist.py} (97%) rename src/{DisplayTabs/_FamilyLdsEmbedList.py => gui/editors/displaytabs/familyldsembedlist.py} (98%) rename src/{DisplayTabs/_GalleryTab.py => gui/editors/displaytabs/gallerytab.py} (99%) rename src/{DisplayTabs/_GrampsTab.py => gui/editors/displaytabs/grampstab.py} (100%) rename src/{DisplayTabs/_GroupEmbeddedList.py => gui/editors/displaytabs/groupembeddedlist.py} (99%) rename src/{DisplayTabs/_LdsEmbedList.py => gui/editors/displaytabs/ldsembedlist.py} (97%) rename src/{DisplayTabs/_LdsModel.py => gui/editors/displaytabs/ldsmodel.py} (100%) rename src/{DisplayTabs/_LocationEmbedList.py => gui/editors/displaytabs/locationembedlist.py} (97%) rename src/{DisplayTabs/_LocationModel.py => gui/editors/displaytabs/locationmodel.py} (100%) rename src/{DisplayTabs/_MediaBackRefList.py => gui/editors/displaytabs/mediabackreflist.py} (94%) rename src/{DisplayTabs/_NameEmbedList.py => gui/editors/displaytabs/nameembedlist.py} (98%) rename src/{DisplayTabs/_NameModel.py => gui/editors/displaytabs/namemodel.py} (100%) rename src/{DisplayTabs/_NoteBackRefList.py => gui/editors/displaytabs/notebackreflist.py} (94%) rename src/{DisplayTabs/_NoteModel.py => gui/editors/displaytabs/notemodel.py} (100%) rename src/{DisplayTabs/_NoteTab.py => gui/editors/displaytabs/notetab.py} (98%) rename src/{DisplayTabs/_PersonBackRefList.py => gui/editors/displaytabs/personbackreflist.py} (94%) rename src/{DisplayTabs/_PersonEventEmbedList.py => gui/editors/displaytabs/personeventembedlist.py} (98%) rename src/{DisplayTabs/_PersonRefEmbedList.py => gui/editors/displaytabs/personrefembedlist.py} (97%) rename src/{DisplayTabs/_PersonRefModel.py => gui/editors/displaytabs/personrefmodel.py} (100%) rename src/{DisplayTabs/_PlaceBackRefList.py => gui/editors/displaytabs/placebackreflist.py} (94%) rename src/{DisplayTabs/_RepoEmbedList.py => gui/editors/displaytabs/repoembedlist.py} (98%) rename src/{DisplayTabs/_RepoRefModel.py => gui/editors/displaytabs/reporefmodel.py} (100%) rename src/{DisplayTabs/_SourceBackRefList.py => gui/editors/displaytabs/sourcebackreflist.py} (94%) rename src/{DisplayTabs/_SourceEmbedList.py => gui/editors/displaytabs/sourceembedlist.py} (98%) rename src/{DisplayTabs/_SourceRefModel.py => gui/editors/displaytabs/sourcerefmodel.py} (100%) rename src/{DisplayTabs/_WebEmbedList.py => gui/editors/displaytabs/webembedlist.py} (98%) rename src/{DisplayTabs/_WebModel.py => gui/editors/displaytabs/webmodel.py} (100%) diff --git a/configure.in b/configure.in index aaa671b42..53d1878f8 100644 --- a/configure.in +++ b/configure.in @@ -104,12 +104,12 @@ src/gen/plug/docgen/Makefile src/gen/plug/menu/Makefile src/gui/Makefile src/gui/editors/Makefile +src/gui/editors/displaytabs/Makefile src/gui/selectors/Makefile src/gui/views/Makefile src/gui/views/treemodels/Makefile src/FilterEditor/Makefile src/Mime/Makefile -src/DisplayTabs/Makefile src/GrampsLogger/Makefile src/Merge/Makefile src/docgen/Makefile diff --git a/po/POTFILES.in b/po/POTFILES.in index 8e804c1d0..56897d6e0 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -220,6 +220,48 @@ src/gui/editors/editsourceRef.py src/gui/editors/editurl.py src/gui/editors/__init__.py +# gui/editors/displaytabs - the GUI display tabs package +src/gui/editors/displaytabs/addrembedlist.py +src/gui/editors/displaytabs/addressmodel.py +src/gui/editors/displaytabs/attrembedlist.py +src/gui/editors/displaytabs/attrmodel.py +src/gui/editors/displaytabs/backreflist.py +src/gui/editors/displaytabs/backrefmodel.py +src/gui/editors/displaytabs/buttontab.py +src/gui/editors/displaytabs/childmodel.py +src/gui/editors/displaytabs/dataembedlist.py +src/gui/editors/displaytabs/datamodel.py +src/gui/editors/displaytabs/embeddedlist.py +src/gui/editors/displaytabs/eventbackreflist.py +src/gui/editors/displaytabs/eventembedlist.py +src/gui/editors/displaytabs/eventrefmodel.py +src/gui/editors/displaytabs/familyattrembedlist.py +src/gui/editors/displaytabs/familyldsembedlist.py +src/gui/editors/displaytabs/gallerytab.py +src/gui/editors/displaytabs/grampstab.py +src/gui/editors/displaytabs/groupembeddedlist.py +src/gui/editors/displaytabs/ldsembedlist.py +src/gui/editors/displaytabs/ldsmodel.py +src/gui/editors/displaytabs/locationembedlist.py +src/gui/editors/displaytabs/locationmodel.py +src/gui/editors/displaytabs/mediabackreflist.py +src/gui/editors/displaytabs/nameembedlist.py +src/gui/editors/displaytabs/namemodel.py +src/gui/editors/displaytabs/notebackreflist.py +src/gui/editors/displaytabs/notetab.py +src/gui/editors/displaytabs/personeventembedlist.py +src/gui/editors/displaytabs/personrefembedlist.py +src/gui/editors/displaytabs/personrefmodel.py +src/gui/editors/displaytabs/placebackreflist.py +src/gui/editors/displaytabs/repoembedlist.py +src/gui/editors/displaytabs/reporefmodel.py +src/gui/editors/displaytabs/sourcebackreflist.py +src/gui/editors/displaytabs/sourceembedlist.py +src/gui/editors/displaytabs/sourcerefmodel.py +src/gui/editors/displaytabs/webembedlist.py +src/gui/editors/displaytabs/webmodel.py +src/gui/editors/displaytabs/_init__.py + # gui/selectors - the GUI selectors package src/gui/selectors/baseselector.py src/gui/selectors/selectevent.py @@ -302,48 +344,6 @@ src/docgen/OpenSpreadSheet.py src/docgen/SpreadSheetDoc.py src/docgen/TextBufDoc.py -# DisplayTabs package -src/DisplayTabs/_AddrEmbedList.py -src/DisplayTabs/_AddressModel.py -src/DisplayTabs/_AttrEmbedList.py -src/DisplayTabs/_AttrModel.py -src/DisplayTabs/_BackRefList.py -src/DisplayTabs/_BackRefModel.py -src/DisplayTabs/_ButtonTab.py -src/DisplayTabs/_ChildModel.py -src/DisplayTabs/_DataEmbedList.py -src/DisplayTabs/_DataModel.py -src/DisplayTabs/_EmbeddedList.py -src/DisplayTabs/_EventBackRefList.py -src/DisplayTabs/_EventEmbedList.py -src/DisplayTabs/_EventRefModel.py -src/DisplayTabs/_FamilyAttrEmbedList.py -src/DisplayTabs/_FamilyLdsEmbedList.py -src/DisplayTabs/_GalleryTab.py -src/DisplayTabs/_GrampsTab.py -src/DisplayTabs/_GroupEmbeddedList.py -src/DisplayTabs/_LdsEmbedList.py -src/DisplayTabs/_LdsModel.py -src/DisplayTabs/_LocationEmbedList.py -src/DisplayTabs/_LocationModel.py -src/DisplayTabs/_MediaBackRefList.py -src/DisplayTabs/_NameEmbedList.py -src/DisplayTabs/_NameModel.py -src/DisplayTabs/_NoteBackRefList.py -src/DisplayTabs/_NoteTab.py -src/DisplayTabs/_PersonEventEmbedList.py -src/DisplayTabs/_PersonRefEmbedList.py -src/DisplayTabs/_PersonRefModel.py -src/DisplayTabs/_PlaceBackRefList.py -src/DisplayTabs/_RepoEmbedList.py -src/DisplayTabs/_RepoRefModel.py -src/DisplayTabs/_SourceBackRefList.py -src/DisplayTabs/_SourceEmbedList.py -src/DisplayTabs/_SourceRefModel.py -src/DisplayTabs/_WebEmbedList.py -src/DisplayTabs/_WebModel.py -src/DisplayTabs/__init__.py - # GrampsDbUtils package src/GrampsDbUtils/_Backup.py src/GrampsDbUtils/_GedcomInfo.py diff --git a/src/DisplayTabs/Makefile.am b/src/DisplayTabs/Makefile.am deleted file mode 100644 index d3c873ca0..000000000 --- a/src/DisplayTabs/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -# This is the src/DisplayTabs level Makefile for Gramps - -pkgdatadir = $(datadir)/@PACKAGE@/DisplayTabs - -pkgdata_PYTHON = \ - _AddrEmbedList.py \ - _AddressModel.py \ - _AttrEmbedList.py \ - _AttrModel.py \ - _BackRefList.py \ - _BackRefModel.py \ - _ButtonTab.py \ - _ChildModel.py \ - _DataEmbedList.py \ - _DataModel.py \ - _EmbeddedList.py \ - _EventBackRefList.py \ - _EventEmbedList.py \ - _EventRefModel.py \ - _FamilyAttrEmbedList.py \ - _FamilyLdsEmbedList.py \ - _GalleryTab.py \ - _GrampsTab.py \ - _GroupEmbeddedList.py \ - _LdsEmbedList.py \ - _LdsModel.py \ - _LocationEmbedList.py \ - _LocationModel.py \ - _MediaBackRefList.py \ - _NameEmbedList.py \ - _NameModel.py \ - _NoteBackRefList.py \ - _NoteTab.py \ - _NoteModel.py \ - _PersonBackRefList.py \ - _PersonEventEmbedList.py \ - _PersonRefEmbedList.py \ - _PersonRefModel.py \ - _PlaceBackRefList.py \ - _RepoEmbedList.py \ - _RepoRefModel.py \ - _SourceBackRefList.py \ - _SourceEmbedList.py \ - _SourceRefModel.py \ - _WebEmbedList.py \ - _WebModel.py \ - __init__.py - -pkgpyexecdir = @pkgpyexecdir@/DisplayTabs -pkgpythondir = @pkgpythondir@/DisplayTabs - -# Clean up all the byte-compiled files -MOSTLYCLEANFILES = *pyc *pyo - -GRAMPS_PY_MODPATH = "../" - -pycheck: - (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ - pychecker $(pkgdata_PYTHON)); diff --git a/src/DisplayTabs/__init__.py b/src/DisplayTabs/__init__.py deleted file mode 100644 index d8d559b78..000000000 --- a/src/DisplayTabs/__init__.py +++ /dev/null @@ -1,60 +0,0 @@ -# -# Gramps - a GTK+/GNOME based genealogy program -# -# Copyright (C) 2000-2006 Donald N. Allingham -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -# $Id$ - - -#------------------------------------------------------------------------- -# -# set up logging -# -#------------------------------------------------------------------------- -import logging -log = logging.getLogger(".DisplayTabs") - -# first import models -from _ChildModel import ChildModel - -# Then import tab classes -from _GrampsTab import GrampsTab -from _EmbeddedList import EmbeddedList -from _AddrEmbedList import AddrEmbedList -from _AttrEmbedList import AttrEmbedList -from _BackRefList import BackRefList -from _DataEmbedList import DataEmbedList -from _EventBackRefList import EventBackRefList -from _EventEmbedList import EventEmbedList -from _FamilyAttrEmbedList import FamilyAttrEmbedList -from _FamilyLdsEmbedList import FamilyLdsEmbedList -from _GalleryTab import GalleryTab -from _LdsEmbedList import LdsEmbedList -from _LocationEmbedList import LocationEmbedList -from _MediaBackRefList import MediaBackRefList -from _NameEmbedList import NameEmbedList -from _NoteBackRefList import NoteBackRefList -from _NoteTab import NoteTab -from _PersonEventEmbedList import PersonEventEmbedList -from _PersonRefEmbedList import PersonRefEmbedList -from _PersonBackRefList import PersonBackRefList -from _PlaceBackRefList import PlaceBackRefList -from _RepoEmbedList import RepoEmbedList -from _SourceBackRefList import SourceBackRefList -from _SourceEmbedList import SourceEmbedList -from _WebEmbedList import WebEmbedList diff --git a/src/FilterEditor/Makefile.am b/src/FilterEditor/Makefile.am index cf03200d5..d5bcb5304 100644 --- a/src/FilterEditor/Makefile.am +++ b/src/FilterEditor/Makefile.am @@ -1,4 +1,4 @@ -# This is the src/DisplayTabs level Makefile for Gramps +# This is the src/FilterEditor level Makefile for Gramps pkgdatadir = $(datadir)/@PACKAGE@/FilterEditor diff --git a/src/Makefile.am b/src/Makefile.am index d41997064..774f0442b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,7 +6,6 @@ SUBDIRS = \ cli \ data \ DateHandler \ - DisplayTabs \ docgen \ Filters \ FilterEditor \ diff --git a/src/gui/editors/Makefile.am b/src/gui/editors/Makefile.am index a82c93fcc..4c11b36e9 100644 --- a/src/gui/editors/Makefile.am +++ b/src/gui/editors/Makefile.am @@ -1,8 +1,11 @@ -# This is the src/Editors level Makefile for Gramps +# This is the src/gui/editors level Makefile for Gramps # We could use GNU make's ':=' syntax for nice wildcard use, # but that is not necessarily portable. # If not using GNU make, then list all .py files individually +SUBDIRS = \ + displaytabs + pkgdatadir = $(datadir)/@PACKAGE@/gui/editors pkgdata_PYTHON = \ diff --git a/src/gui/editors/displaytabs/Makefile.am b/src/gui/editors/displaytabs/Makefile.am new file mode 100644 index 000000000..6e610a4c4 --- /dev/null +++ b/src/gui/editors/displaytabs/Makefile.am @@ -0,0 +1,59 @@ +# This is the src/gui/editors/displaytabs level Makefile for Gramps + +pkgdatadir = $(datadir)/@PAcKAGE@/gui/editors/displaytabs + +pkgdata_PYTHON = \ + addrembedlist.py \ + addressmodel.py \ + attrembedlist.py \ + attrmodel.py \ + backreflist.py \ + backrefmodel.py \ + buttontab.py \ + childmodel.py \ + dataembedlist.py \ + datamodel.py \ + embeddedlist.py \ + eventbackreflist.py \ + eventembedlist.py \ + eventrefmodel.py \ + familyattrembedlist.py \ + familyldsembedlist.py \ + gallerytab.py \ + grampstab.py \ + groupembeddedlist.py \ + ldsembedlist.py \ + ldsmodel.py \ + locationembedlist.py \ + locationmodel.py \ + mediabackreflist.py \ + nameembedlist.py \ + namemodel.py \ + notebackreflist.py \ + notetab.py \ + notemodel.py \ + personbackreflist.py \ + personeventembedlist.py \ + personrefembedlist.py \ + personrefmodel.py \ + placebackreflist.py \ + repoembedlist.py \ + reporefmodel.py \ + sourcebackreflist.py \ + sourceembedlist.py \ + sourcerefmodel.py \ + webembedlist.py \ + webmodel.py \ + __init__.py + +pkgpyexecdir = @pkgpyexecdir@/gui/editors/displaytabs +pkgpythondir = @pkgpythondir@/gui/editors/displaytabs + +# clean up all the byte-compiled files +MOSTLYcLEANFILES = *pyc *pyo + +GRAMPS_PY_MODPATH = "../../../" + +pycheck: + (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ + pychecker $(pkgdata_PYTHON)); diff --git a/src/gui/editors/displaytabs/__init__.py b/src/gui/editors/displaytabs/__init__.py new file mode 100644 index 000000000..b04413e1d --- /dev/null +++ b/src/gui/editors/displaytabs/__init__.py @@ -0,0 +1,60 @@ +# +# Gramps - a GTK+/GNOME based genealogy program +# +# Copyright (C) 2000-2006 Donald N. Allingham +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# $Id$ + + +#------------------------------------------------------------------------- +# +# set up logging +# +#------------------------------------------------------------------------- +import logging +log = logging.getLogger("gui.editors.displaytabs") + +# first import models +from childmodel import ChildModel + +# Then import tab classes +from grampstab import GrampsTab +from embeddedlist import EmbeddedList +from addrembedlist import AddrEmbedList +from attrembedlist import AttrEmbedList +from backreflist import BackRefList +from dataembedlist import DataEmbedList +from eventbackreflist import EventBackRefList +from eventembedlist import EventEmbedList +from familyattrembedlist import FamilyAttrEmbedList +from familyldsembedlist import FamilyLdsEmbedList +from gallerytab import GalleryTab +from ldsembedlist import LdsEmbedList +from locationembedlist import LocationEmbedList +from mediabackreflist import MediaBackRefList +from nameembedlist import NameEmbedList +from notebackreflist import NoteBackRefList +from notetab import NoteTab +from personeventembedlist import PersonEventEmbedList +from personrefembedlist import PersonRefEmbedList +from personbackreflist import PersonBackRefList +from placebackreflist import PlaceBackRefList +from repoembedlist import RepoEmbedList +from sourcebackreflist import SourceBackRefList +from sourceembedlist import SourceEmbedList +from webembedlist import WebEmbedList diff --git a/src/DisplayTabs/_AddrEmbedList.py b/src/gui/editors/displaytabs/addrembedlist.py similarity index 97% rename from src/DisplayTabs/_AddrEmbedList.py rename to src/gui/editors/displaytabs/addrembedlist.py index bcea98b16..a6a163737 100644 --- a/src/DisplayTabs/_AddrEmbedList.py +++ b/src/gui/editors/displaytabs/addrembedlist.py @@ -39,8 +39,8 @@ from gettext import gettext as _ import gen.lib import Errors from DdTargets import DdTargets -from DisplayTabs._AddressModel import AddressModel -from DisplayTabs._EmbeddedList import EmbeddedList +from addressmodel import AddressModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_AddressModel.py b/src/gui/editors/displaytabs/addressmodel.py similarity index 100% rename from src/DisplayTabs/_AddressModel.py rename to src/gui/editors/displaytabs/addressmodel.py diff --git a/src/DisplayTabs/_AttrEmbedList.py b/src/gui/editors/displaytabs/attrembedlist.py similarity index 97% rename from src/DisplayTabs/_AttrEmbedList.py rename to src/gui/editors/displaytabs/attrembedlist.py index 74af66b4d..575cac37b 100644 --- a/src/DisplayTabs/_AttrEmbedList.py +++ b/src/gui/editors/displaytabs/attrembedlist.py @@ -35,8 +35,8 @@ from gettext import gettext as _ import gen.lib import Errors from DdTargets import DdTargets -from DisplayTabs._AttrModel import AttrModel -from DisplayTabs._EmbeddedList import EmbeddedList +from attrmodel import AttrModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_AttrModel.py b/src/gui/editors/displaytabs/attrmodel.py similarity index 100% rename from src/DisplayTabs/_AttrModel.py rename to src/gui/editors/displaytabs/attrmodel.py diff --git a/src/DisplayTabs/_BackRefList.py b/src/gui/editors/displaytabs/backreflist.py similarity index 99% rename from src/DisplayTabs/_BackRefList.py rename to src/gui/editors/displaytabs/backreflist.py index 36fac305f..85bfc2f94 100644 --- a/src/DisplayTabs/_BackRefList.py +++ b/src/gui/editors/displaytabs/backreflist.py @@ -42,7 +42,7 @@ import gtk #------------------------------------------------------------------------- import Errors from gui.widgets import SimpleButton -from _EmbeddedList import EmbeddedList +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_BackRefModel.py b/src/gui/editors/displaytabs/backrefmodel.py similarity index 100% rename from src/DisplayTabs/_BackRefModel.py rename to src/gui/editors/displaytabs/backrefmodel.py diff --git a/src/DisplayTabs/_ButtonTab.py b/src/gui/editors/displaytabs/buttontab.py similarity index 99% rename from src/DisplayTabs/_ButtonTab.py rename to src/gui/editors/displaytabs/buttontab.py index c4ea00a99..778ef1f76 100644 --- a/src/DisplayTabs/_ButtonTab.py +++ b/src/gui/editors/displaytabs/buttontab.py @@ -41,7 +41,7 @@ import gtk # #------------------------------------------------------------------------- from gui.widgets import SimpleButton -from _GrampsTab import GrampsTab +from grampstab import GrampsTab import Errors _KP_ENTER = gtk.gdk.keyval_from_name("KP_Enter") diff --git a/src/DisplayTabs/_ChildModel.py b/src/gui/editors/displaytabs/childmodel.py similarity index 100% rename from src/DisplayTabs/_ChildModel.py rename to src/gui/editors/displaytabs/childmodel.py diff --git a/src/DisplayTabs/_DataEmbedList.py b/src/gui/editors/displaytabs/dataembedlist.py similarity index 97% rename from src/DisplayTabs/_DataEmbedList.py rename to src/gui/editors/displaytabs/dataembedlist.py index 985c0f7a9..3a222645a 100644 --- a/src/DisplayTabs/_DataEmbedList.py +++ b/src/gui/editors/displaytabs/dataembedlist.py @@ -32,8 +32,8 @@ from gettext import gettext as _ # GRAMPS classes # #------------------------------------------------------------------------- -from DisplayTabs._DataModel import DataModel -from DisplayTabs._EmbeddedList import EmbeddedList +from datamodel import DataModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_DataModel.py b/src/gui/editors/displaytabs/datamodel.py similarity index 100% rename from src/DisplayTabs/_DataModel.py rename to src/gui/editors/displaytabs/datamodel.py diff --git a/src/DisplayTabs/_EmbeddedList.py b/src/gui/editors/displaytabs/embeddedlist.py similarity index 99% rename from src/DisplayTabs/_EmbeddedList.py rename to src/gui/editors/displaytabs/embeddedlist.py index c37a910f1..e4a83dc68 100644 --- a/src/DisplayTabs/_EmbeddedList.py +++ b/src/gui/editors/displaytabs/embeddedlist.py @@ -42,7 +42,7 @@ import pango # GRAMPS classes # #------------------------------------------------------------------------- -from DisplayTabs._ButtonTab import ButtonTab +from buttontab import ButtonTab #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_EventBackRefList.py b/src/gui/editors/displaytabs/eventbackreflist.py similarity index 94% rename from src/DisplayTabs/_EventBackRefList.py rename to src/gui/editors/displaytabs/eventbackreflist.py index 4ba74fc7c..b35fc4e48 100644 --- a/src/DisplayTabs/_EventBackRefList.py +++ b/src/gui/editors/displaytabs/eventbackreflist.py @@ -25,8 +25,8 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class EventBackRefList(BackRefList): diff --git a/src/DisplayTabs/_EventEmbedList.py b/src/gui/editors/displaytabs/eventembedlist.py similarity index 99% rename from src/DisplayTabs/_EventEmbedList.py rename to src/gui/editors/displaytabs/eventembedlist.py index 8fd2ae0eb..0962c96cf 100644 --- a/src/DisplayTabs/_EventEmbedList.py +++ b/src/gui/editors/displaytabs/eventembedlist.py @@ -37,8 +37,8 @@ import gtk import gen.lib import Errors from DdTargets import DdTargets -from _GroupEmbeddedList import GroupEmbeddedList -from _EventRefModel import EventRefModel +from groupembeddedlist import GroupEmbeddedList +from eventrefmodel import EventRefModel from gui.dbguielement import DbGUIElement from gui.selectors import SelectorFactory diff --git a/src/DisplayTabs/_EventRefModel.py b/src/gui/editors/displaytabs/eventrefmodel.py similarity index 100% rename from src/DisplayTabs/_EventRefModel.py rename to src/gui/editors/displaytabs/eventrefmodel.py diff --git a/src/DisplayTabs/_FamilyAttrEmbedList.py b/src/gui/editors/displaytabs/familyattrembedlist.py similarity index 97% rename from src/DisplayTabs/_FamilyAttrEmbedList.py rename to src/gui/editors/displaytabs/familyattrembedlist.py index 04135fbe2..69b027078 100644 --- a/src/DisplayTabs/_FamilyAttrEmbedList.py +++ b/src/gui/editors/displaytabs/familyattrembedlist.py @@ -25,7 +25,7 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _AttrEmbedList import AttrEmbedList +from attrembedlist import AttrEmbedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_FamilyLdsEmbedList.py b/src/gui/editors/displaytabs/familyldsembedlist.py similarity index 98% rename from src/DisplayTabs/_FamilyLdsEmbedList.py rename to src/gui/editors/displaytabs/familyldsembedlist.py index 56d7c3fcd..2c0c01860 100644 --- a/src/DisplayTabs/_FamilyLdsEmbedList.py +++ b/src/gui/editors/displaytabs/familyldsembedlist.py @@ -32,7 +32,7 @@ from gettext import gettext as _ # GRAMPS classes # #------------------------------------------------------------------------- -from _LdsEmbedList import LdsEmbedList +from ldsembedlist import LdsEmbedList import gen.lib #------------------------------------------------------------------------- diff --git a/src/DisplayTabs/_GalleryTab.py b/src/gui/editors/displaytabs/gallerytab.py similarity index 99% rename from src/DisplayTabs/_GalleryTab.py rename to src/gui/editors/displaytabs/gallerytab.py index 08fd6f455..0ec1bf090 100644 --- a/src/DisplayTabs/_GalleryTab.py +++ b/src/gui/editors/displaytabs/gallerytab.py @@ -54,7 +54,7 @@ import ThumbNails import Errors import Mime from DdTargets import DdTargets -from DisplayTabs._ButtonTab import ButtonTab +from buttontab import ButtonTab #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_GrampsTab.py b/src/gui/editors/displaytabs/grampstab.py similarity index 100% rename from src/DisplayTabs/_GrampsTab.py rename to src/gui/editors/displaytabs/grampstab.py diff --git a/src/DisplayTabs/_GroupEmbeddedList.py b/src/gui/editors/displaytabs/groupembeddedlist.py similarity index 99% rename from src/DisplayTabs/_GroupEmbeddedList.py rename to src/gui/editors/displaytabs/groupembeddedlist.py index a3b133e1e..4a23074b7 100644 --- a/src/DisplayTabs/_GroupEmbeddedList.py +++ b/src/gui/editors/displaytabs/groupembeddedlist.py @@ -26,7 +26,6 @@ # python # #------------------------------------------------------------------------- -from gettext import gettext as _ import cPickle as pickle #------------------------------------------------------------------------- @@ -42,7 +41,7 @@ import pango # GRAMPS classes # #------------------------------------------------------------------------- -from DisplayTabs._EmbeddedList import EmbeddedList +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_LdsEmbedList.py b/src/gui/editors/displaytabs/ldsembedlist.py similarity index 97% rename from src/DisplayTabs/_LdsEmbedList.py rename to src/gui/editors/displaytabs/ldsembedlist.py index fdeee8f12..3ead9071f 100644 --- a/src/DisplayTabs/_LdsEmbedList.py +++ b/src/gui/editors/displaytabs/ldsembedlist.py @@ -34,8 +34,8 @@ from gettext import gettext as _ #------------------------------------------------------------------------- import gen.lib import Errors -from _LdsModel import LdsModel -from _EmbeddedList import EmbeddedList +from ldsmodel import LdsModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_LdsModel.py b/src/gui/editors/displaytabs/ldsmodel.py similarity index 100% rename from src/DisplayTabs/_LdsModel.py rename to src/gui/editors/displaytabs/ldsmodel.py diff --git a/src/DisplayTabs/_LocationEmbedList.py b/src/gui/editors/displaytabs/locationembedlist.py similarity index 97% rename from src/DisplayTabs/_LocationEmbedList.py rename to src/gui/editors/displaytabs/locationembedlist.py index 4d2290f60..790f27a28 100644 --- a/src/DisplayTabs/_LocationEmbedList.py +++ b/src/gui/editors/displaytabs/locationembedlist.py @@ -35,8 +35,8 @@ from gettext import gettext as _ import gen.lib import Errors from DdTargets import DdTargets -from _LocationModel import LocationModel -from _EmbeddedList import EmbeddedList +from locationmodel import LocationModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_LocationModel.py b/src/gui/editors/displaytabs/locationmodel.py similarity index 100% rename from src/DisplayTabs/_LocationModel.py rename to src/gui/editors/displaytabs/locationmodel.py diff --git a/src/DisplayTabs/_MediaBackRefList.py b/src/gui/editors/displaytabs/mediabackreflist.py similarity index 94% rename from src/DisplayTabs/_MediaBackRefList.py rename to src/gui/editors/displaytabs/mediabackreflist.py index a5a27a265..315f87b45 100644 --- a/src/DisplayTabs/_MediaBackRefList.py +++ b/src/gui/editors/displaytabs/mediabackreflist.py @@ -25,8 +25,8 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class MediaBackRefList(BackRefList): diff --git a/src/DisplayTabs/_NameEmbedList.py b/src/gui/editors/displaytabs/nameembedlist.py similarity index 98% rename from src/DisplayTabs/_NameEmbedList.py rename to src/gui/editors/displaytabs/nameembedlist.py index e7f403019..9fbc54dc9 100644 --- a/src/DisplayTabs/_NameEmbedList.py +++ b/src/gui/editors/displaytabs/nameembedlist.py @@ -43,8 +43,8 @@ from gettext import gettext as _ import gen.lib import Errors from DdTargets import DdTargets -from DisplayTabs._NameModel import NameModel -from DisplayTabs._GroupEmbeddedList import GroupEmbeddedList +from namemodel import NameModel +from groupembeddedlist import GroupEmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_NameModel.py b/src/gui/editors/displaytabs/namemodel.py similarity index 100% rename from src/DisplayTabs/_NameModel.py rename to src/gui/editors/displaytabs/namemodel.py diff --git a/src/DisplayTabs/_NoteBackRefList.py b/src/gui/editors/displaytabs/notebackreflist.py similarity index 94% rename from src/DisplayTabs/_NoteBackRefList.py rename to src/gui/editors/displaytabs/notebackreflist.py index c936b0988..6eac246d1 100644 --- a/src/DisplayTabs/_NoteBackRefList.py +++ b/src/gui/editors/displaytabs/notebackreflist.py @@ -26,8 +26,8 @@ # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class NoteBackRefList(BackRefList): diff --git a/src/DisplayTabs/_NoteModel.py b/src/gui/editors/displaytabs/notemodel.py similarity index 100% rename from src/DisplayTabs/_NoteModel.py rename to src/gui/editors/displaytabs/notemodel.py diff --git a/src/DisplayTabs/_NoteTab.py b/src/gui/editors/displaytabs/notetab.py similarity index 98% rename from src/DisplayTabs/_NoteTab.py rename to src/gui/editors/displaytabs/notetab.py index cdab4c0bc..08150c9c2 100644 --- a/src/DisplayTabs/_NoteTab.py +++ b/src/gui/editors/displaytabs/notetab.py @@ -42,8 +42,8 @@ import Errors import gen.lib from gui.dbguielement import DbGUIElement from gui.selectors import SelectorFactory -from _NoteModel import NoteModel -from _EmbeddedList import EmbeddedList +from notemodel import NoteModel +from embeddedlist import EmbeddedList from DdTargets import DdTargets #------------------------------------------------------------------------- diff --git a/src/DisplayTabs/_PersonBackRefList.py b/src/gui/editors/displaytabs/personbackreflist.py similarity index 94% rename from src/DisplayTabs/_PersonBackRefList.py rename to src/gui/editors/displaytabs/personbackreflist.py index a3737df3c..bfd2795b3 100644 --- a/src/DisplayTabs/_PersonBackRefList.py +++ b/src/gui/editors/displaytabs/personbackreflist.py @@ -25,8 +25,8 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class PersonBackRefList(BackRefList): diff --git a/src/DisplayTabs/_PersonEventEmbedList.py b/src/gui/editors/displaytabs/personeventembedlist.py similarity index 98% rename from src/DisplayTabs/_PersonEventEmbedList.py rename to src/gui/editors/displaytabs/personeventembedlist.py index 2fc9fb56b..e42da57da 100644 --- a/src/DisplayTabs/_PersonEventEmbedList.py +++ b/src/gui/editors/displaytabs/personeventembedlist.py @@ -35,8 +35,8 @@ from gettext import gettext as _ #------------------------------------------------------------------------- import gen.lib from BasicUtils import name_displayer -from _EventEmbedList import EventEmbedList -from _EventRefModel import EventRefModel +from eventembedlist import EventEmbedList +from eventrefmodel import EventRefModel _std_types = [ gen.lib.EventType(gen.lib.EventType.BIRTH), diff --git a/src/DisplayTabs/_PersonRefEmbedList.py b/src/gui/editors/displaytabs/personrefembedlist.py similarity index 97% rename from src/DisplayTabs/_PersonRefEmbedList.py rename to src/gui/editors/displaytabs/personrefembedlist.py index 95ee18c0d..2acffbe04 100644 --- a/src/DisplayTabs/_PersonRefEmbedList.py +++ b/src/gui/editors/displaytabs/personrefembedlist.py @@ -35,8 +35,8 @@ from gettext import gettext as _ import gen.lib import Errors from DdTargets import DdTargets -from _PersonRefModel import PersonRefModel -from _EmbeddedList import EmbeddedList +from personrefmodel import PersonRefModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_PersonRefModel.py b/src/gui/editors/displaytabs/personrefmodel.py similarity index 100% rename from src/DisplayTabs/_PersonRefModel.py rename to src/gui/editors/displaytabs/personrefmodel.py diff --git a/src/DisplayTabs/_PlaceBackRefList.py b/src/gui/editors/displaytabs/placebackreflist.py similarity index 94% rename from src/DisplayTabs/_PlaceBackRefList.py rename to src/gui/editors/displaytabs/placebackreflist.py index 2cfb0d5d7..061cb453e 100644 --- a/src/DisplayTabs/_PlaceBackRefList.py +++ b/src/gui/editors/displaytabs/placebackreflist.py @@ -25,8 +25,8 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class PlaceBackRefList(BackRefList): diff --git a/src/DisplayTabs/_RepoEmbedList.py b/src/gui/editors/displaytabs/repoembedlist.py similarity index 98% rename from src/DisplayTabs/_RepoEmbedList.py rename to src/gui/editors/displaytabs/repoembedlist.py index 612f983b1..3123e01f9 100644 --- a/src/DisplayTabs/_RepoEmbedList.py +++ b/src/gui/editors/displaytabs/repoembedlist.py @@ -37,8 +37,8 @@ from gui.dbguielement import DbGUIElement from gui.selectors import SelectorFactory import Errors from DdTargets import DdTargets -from _RepoRefModel import RepoRefModel -from _EmbeddedList import EmbeddedList +from reporefmodel import RepoRefModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_RepoRefModel.py b/src/gui/editors/displaytabs/reporefmodel.py similarity index 100% rename from src/DisplayTabs/_RepoRefModel.py rename to src/gui/editors/displaytabs/reporefmodel.py diff --git a/src/DisplayTabs/_SourceBackRefList.py b/src/gui/editors/displaytabs/sourcebackreflist.py similarity index 94% rename from src/DisplayTabs/_SourceBackRefList.py rename to src/gui/editors/displaytabs/sourcebackreflist.py index 3741d1bbb..7dccef876 100644 --- a/src/DisplayTabs/_SourceBackRefList.py +++ b/src/gui/editors/displaytabs/sourcebackreflist.py @@ -25,8 +25,8 @@ # GRAMPS classes # #------------------------------------------------------------------------- -from _BackRefModel import BackRefModel -from _BackRefList import BackRefList +from backrefmodel import BackRefModel +from backreflist import BackRefList class SourceBackRefList(BackRefList): diff --git a/src/DisplayTabs/_SourceEmbedList.py b/src/gui/editors/displaytabs/sourceembedlist.py similarity index 98% rename from src/DisplayTabs/_SourceEmbedList.py rename to src/gui/editors/displaytabs/sourceembedlist.py index be90cfb93..453f2a610 100644 --- a/src/DisplayTabs/_SourceEmbedList.py +++ b/src/gui/editors/displaytabs/sourceembedlist.py @@ -37,8 +37,8 @@ from gui.dbguielement import DbGUIElement from gui.selectors import SelectorFactory import Errors from DdTargets import DdTargets -from _SourceRefModel import SourceRefModel -from _EmbeddedList import EmbeddedList +from sourcerefmodel import SourceRefModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_SourceRefModel.py b/src/gui/editors/displaytabs/sourcerefmodel.py similarity index 100% rename from src/DisplayTabs/_SourceRefModel.py rename to src/gui/editors/displaytabs/sourcerefmodel.py diff --git a/src/DisplayTabs/_WebEmbedList.py b/src/gui/editors/displaytabs/webembedlist.py similarity index 98% rename from src/DisplayTabs/_WebEmbedList.py rename to src/gui/editors/displaytabs/webembedlist.py index 4d4435939..e78291540 100644 --- a/src/DisplayTabs/_WebEmbedList.py +++ b/src/gui/editors/displaytabs/webembedlist.py @@ -36,8 +36,8 @@ import gtk import gen.lib import Errors from DdTargets import DdTargets -from _WebModel import WebModel -from _EmbeddedList import EmbeddedList +from webmodel import WebModel +from embeddedlist import EmbeddedList #------------------------------------------------------------------------- # diff --git a/src/DisplayTabs/_WebModel.py b/src/gui/editors/displaytabs/webmodel.py similarity index 100% rename from src/DisplayTabs/_WebModel.py rename to src/gui/editors/displaytabs/webmodel.py diff --git a/src/gui/editors/editaddress.py b/src/gui/editors/editaddress.py index df8d3146a..256d17ce2 100644 --- a/src/gui/editors/editaddress.py +++ b/src/gui/editors/editaddress.py @@ -48,7 +48,7 @@ import gtk from editsecondary import EditSecondary from gen.lib import NoteType from glade import Glade -from DisplayTabs import SourceEmbedList, NoteTab +from displaytabs import SourceEmbedList, NoteTab from gui.widgets import MonitoredDate, MonitoredEntry, PrivacyButton #------------------------------------------------------------------------- diff --git a/src/gui/editors/editattribute.py b/src/gui/editors/editattribute.py index 04ba9b192..143d6c8fd 100644 --- a/src/gui/editors/editattribute.py +++ b/src/gui/editors/editattribute.py @@ -48,7 +48,7 @@ import gtk from editsecondary import EditSecondary from gen.lib import NoteType from glade import Glade -from DisplayTabs import SourceEmbedList, NoteTab +from displaytabs import SourceEmbedList, NoteTab from gui.widgets import MonitoredEntry, PrivacyButton, MonitoredDataType #------------------------------------------------------------------------- diff --git a/src/gui/editors/editchildref.py b/src/gui/editors/editchildref.py index 27bf7fcb3..7989d8e7b 100644 --- a/src/gui/editors/editchildref.py +++ b/src/gui/editors/editchildref.py @@ -49,7 +49,7 @@ from editsecondary import EditSecondary from gen.lib import NoteType import Errors from glade import Glade -from DisplayTabs import SourceEmbedList, NoteTab +from displaytabs import SourceEmbedList, NoteTab from gui.widgets import MonitoredDataType, PrivacyButton from BasicUtils import name_displayer diff --git a/src/gui/editors/editevent.py b/src/gui/editors/editevent.py index 680254b77..90062b26e 100644 --- a/src/gui/editors/editevent.py +++ b/src/gui/editors/editevent.py @@ -47,7 +47,7 @@ from editprimary import EditPrimary from objectentries import PlaceEntry from glade import Glade from QuestionDialog import ErrorDialog -from DisplayTabs import (SourceEmbedList, NoteTab, GalleryTab, +from displaytabs import (SourceEmbedList, NoteTab, GalleryTab, EventBackRefList, AttrEmbedList) from gui.widgets import (MonitoredEntry, PrivacyButton, MonitoredDataType, MonitoredDate) diff --git a/src/gui/editors/editeventref.py b/src/gui/editors/editeventref.py index 3bf72b2bc..08984bdb1 100644 --- a/src/gui/editors/editeventref.py +++ b/src/gui/editors/editeventref.py @@ -35,7 +35,7 @@ from gettext import gettext as _ #------------------------------------------------------------------------- import gen.lib from glade import Glade -from DisplayTabs import (SourceEmbedList, NoteTab, GalleryTab, +from displaytabs import (SourceEmbedList, NoteTab, GalleryTab, EventBackRefList, AttrEmbedList) from gui.widgets import (PrivacyButton, MonitoredEntry, MonitoredDate, MonitoredDataType) diff --git a/src/gui/editors/editfamily.py b/src/gui/editors/editfamily.py index b12c3f649..c2bad05ba 100644 --- a/src/gui/editors/editfamily.py +++ b/src/gui/editors/editfamily.py @@ -65,7 +65,7 @@ from editprimary import EditPrimary from editchildref import EditChildRef from editperson import EditPerson from ReportBase import ReportUtils -from DisplayTabs import (EmbeddedList, EventEmbedList, SourceEmbedList, +from displaytabs import (EmbeddedList, EventEmbedList, SourceEmbedList, FamilyAttrEmbedList, NoteTab, GalleryTab, FamilyLdsEmbedList, ChildModel) from gui.widgets import (PrivacyButton, MonitoredEntry, MonitoredDataType) @@ -84,7 +84,7 @@ _RIGHT_BUTTON = 3 class ChildEmbedList(EmbeddedList): """ The child embed list is specific to the Edit Family dialog, so it - is contained here instead of in DisplayTabs. + is contained here instead of in displaytabs. """ _HANDLE_COL = 10 diff --git a/src/gui/editors/editldsord.py b/src/gui/editors/editldsord.py index fd60688e6..e2853f840 100644 --- a/src/gui/editors/editldsord.py +++ b/src/gui/editors/editldsord.py @@ -50,7 +50,7 @@ import LdsUtils from glade import Glade from editsecondary import EditSecondary from objectentries import PlaceEntry -from DisplayTabs import SourceEmbedList,NoteTab +from displaytabs import SourceEmbedList,NoteTab from gui.widgets import (PrivacyButton, MonitoredDate, MonitoredMenu, MonitoredStrMenu) from gui.selectors import SelectorFactory diff --git a/src/gui/editors/editmedia.py b/src/gui/editors/editmedia.py index bf64a219f..ce1a7fb50 100644 --- a/src/gui/editors/editmedia.py +++ b/src/gui/editors/editmedia.py @@ -47,7 +47,7 @@ import ThumbNails import Utils from editprimary import EditPrimary from gui.widgets import MonitoredDate, MonitoredEntry, PrivacyButton -from DisplayTabs import (SourceEmbedList, AttrEmbedList, NoteTab, +from displaytabs import (SourceEmbedList, AttrEmbedList, NoteTab, MediaBackRefList) from addmedia import AddMediaObject from QuestionDialog import ErrorDialog diff --git a/src/gui/editors/editmediaref.py b/src/gui/editors/editmediaref.py index 6b6d4c84c..0482f247a 100644 --- a/src/gui/editors/editmediaref.py +++ b/src/gui/editors/editmediaref.py @@ -48,7 +48,7 @@ import ThumbNails import Utils from gen.lib import NoteType from glade import Glade -from DisplayTabs import (SourceEmbedList, AttrEmbedList, MediaBackRefList, +from displaytabs import (SourceEmbedList, AttrEmbedList, MediaBackRefList, NoteTab) from gui.widgets import MonitoredSpinButton, MonitoredEntry, PrivacyButton from editreference import RefTab, EditReference diff --git a/src/gui/editors/editname.py b/src/gui/editors/editname.py index 10a3ec96c..b96d0c0d8 100644 --- a/src/gui/editors/editname.py +++ b/src/gui/editors/editname.py @@ -44,7 +44,7 @@ import gtk from BasicUtils import name_displayer from editsecondary import EditSecondary from gen.lib import NoteType -from DisplayTabs import GrampsTab,SourceEmbedList,NoteTab +from displaytabs import GrampsTab,SourceEmbedList,NoteTab from gui.widgets import (MonitoredEntry, MonitoredMenu, MonitoredDate, MonitoredDataType, PrivacyButton) from glade import Glade diff --git a/src/gui/editors/editnote.py b/src/gui/editors/editnote.py index 282586dcf..e99582bb4 100644 --- a/src/gui/editors/editnote.py +++ b/src/gui/editors/editnote.py @@ -49,7 +49,7 @@ import config import const from gui.widgets import StyledTextEditor from editprimary import EditPrimary -from DisplayTabs import GrampsTab, NoteBackRefList +from displaytabs import GrampsTab, NoteBackRefList from gui.widgets import (MonitoredDataType, MonitoredCheckbox, MonitoredEntry, PrivacyButton) from gen.lib import Note diff --git a/src/gui/editors/editperson.py b/src/gui/editors/editperson.py index 80caf3d2a..75fe6fcfb 100644 --- a/src/gui/editors/editperson.py +++ b/src/gui/editors/editperson.py @@ -63,7 +63,7 @@ from editname import EditName import config from QuestionDialog import ErrorDialog, ICON -from DisplayTabs import (PersonEventEmbedList, NameEmbedList, SourceEmbedList, +from displaytabs import (PersonEventEmbedList, NameEmbedList, SourceEmbedList, AttrEmbedList, AddrEmbedList, NoteTab, GalleryTab, WebEmbedList, PersonRefEmbedList, LdsEmbedList, PersonBackRefList) diff --git a/src/gui/editors/editpersonref.py b/src/gui/editors/editpersonref.py index 0a6225952..69b2456ef 100644 --- a/src/gui/editors/editpersonref.py +++ b/src/gui/editors/editpersonref.py @@ -50,7 +50,7 @@ from editsecondary import EditSecondary from gen.lib import NoteType from gui.widgets import MonitoredEntry, PrivacyButton from gui.selectors import SelectorFactory -from DisplayTabs import SourceEmbedList, NoteTab +from displaytabs import SourceEmbedList, NoteTab from glade import Glade #------------------------------------------------------------------------- diff --git a/src/gui/editors/editplace.py b/src/gui/editors/editplace.py index f3cc1d4c5..03ae9ce4e 100644 --- a/src/gui/editors/editplace.py +++ b/src/gui/editors/editplace.py @@ -44,7 +44,7 @@ import gtk #------------------------------------------------------------------------- import gen.lib from editprimary import EditPrimary -from DisplayTabs import (GrampsTab, LocationEmbedList, SourceEmbedList, +from displaytabs import (GrampsTab, LocationEmbedList, SourceEmbedList, GalleryTab, NoteTab, WebEmbedList, PlaceBackRefList) from gui.widgets import MonitoredEntry, PrivacyButton from Errors import ValidationError diff --git a/src/gui/editors/editreference.py b/src/gui/editors/editreference.py index 8c4c0d04f..0525b4217 100644 --- a/src/gui/editors/editreference.py +++ b/src/gui/editors/editreference.py @@ -34,7 +34,7 @@ import gtk # #------------------------------------------------------------------------- import ManagedWindow -from DisplayTabs import GrampsTab +from displaytabs import GrampsTab import config from gui.dbguielement import DbGUIElement diff --git a/src/gui/editors/editreporef.py b/src/gui/editors/editreporef.py index 270285315..f656c918a 100644 --- a/src/gui/editors/editreporef.py +++ b/src/gui/editors/editreporef.py @@ -35,7 +35,7 @@ from gettext import gettext as _ #------------------------------------------------------------------------- from gen.lib import NoteType -from DisplayTabs import NoteTab,AddrEmbedList,WebEmbedList,SourceBackRefList +from displaytabs import NoteTab,AddrEmbedList,WebEmbedList,SourceBackRefList from gui.widgets import MonitoredEntry, PrivacyButton, MonitoredDataType from editreference import RefTab, EditReference from glade import Glade diff --git a/src/gui/editors/editrepository.py b/src/gui/editors/editrepository.py index 54801a297..99bb93d9a 100644 --- a/src/gui/editors/editrepository.py +++ b/src/gui/editors/editrepository.py @@ -43,7 +43,7 @@ import gtk import gen.lib from gui.widgets import MonitoredEntry, MonitoredDataType, PrivacyButton -from DisplayTabs import AddrEmbedList, WebEmbedList, NoteTab, SourceBackRefList +from displaytabs import AddrEmbedList, WebEmbedList, NoteTab, SourceBackRefList from editprimary import EditPrimary from QuestionDialog import ErrorDialog from glade import Glade diff --git a/src/gui/editors/editsource.py b/src/gui/editors/editsource.py index 14f9ac0ea..9fbd5a66a 100644 --- a/src/gui/editors/editsource.py +++ b/src/gui/editors/editsource.py @@ -45,7 +45,7 @@ import gtk import gen.lib from editprimary import EditPrimary -from DisplayTabs import (NoteTab, GalleryTab, DataEmbedList, +from displaytabs import (NoteTab, GalleryTab, DataEmbedList, SourceBackRefList, RepoEmbedList) from gui.widgets import MonitoredEntry, PrivacyButton from QuestionDialog import ErrorDialog diff --git a/src/gui/editors/editsourceref.py b/src/gui/editors/editsourceref.py index 103de9c74..57db52ea1 100644 --- a/src/gui/editors/editsourceref.py +++ b/src/gui/editors/editsourceref.py @@ -35,7 +35,7 @@ from gettext import gettext as _ #------------------------------------------------------------------------- import gen.lib from glade import Glade -from DisplayTabs import (NoteTab, GalleryTab, SourceBackRefList, +from displaytabs import (NoteTab, GalleryTab, SourceBackRefList, DataEmbedList, RepoEmbedList) from gui.widgets import (PrivacyButton, MonitoredEntry, MonitoredMenu, MonitoredDate)