diff --git a/src/gui/views/Makefile.am b/src/gui/views/Makefile.am index f07075b8c..2bece7156 100644 --- a/src/gui/views/Makefile.am +++ b/src/gui/views/Makefile.am @@ -12,8 +12,7 @@ pkgdata_PYTHON = \ __init__.py \ listview.py \ navigationview.py \ - pageview.py \ - placebaseview.py + pageview.py pkgpyexecdir = @pkgpyexecdir@/gui/views pkgpythondir = @pkgpythondir@/gui/views diff --git a/src/plugins/lib/Makefile.am b/src/plugins/lib/Makefile.am index 0b688e1ef..9b9de78e3 100644 --- a/src/plugins/lib/Makefile.am +++ b/src/plugins/lib/Makefile.am @@ -19,6 +19,7 @@ pkgdata_PYTHON = \ libmixin.py\ libodfbackend.py\ libpersonview.py\ + libplaceview.py\ libplugins.gpr.py\ libtranslate.py diff --git a/src/gui/views/placebaseview.py b/src/plugins/lib/libplaceview.py similarity index 100% rename from src/gui/views/placebaseview.py rename to src/plugins/lib/libplaceview.py diff --git a/src/plugins/lib/libplugins.gpr.py b/src/plugins/lib/libplugins.gpr.py index d77cd80d1..b7b367208 100644 --- a/src/plugins/lib/libplugins.gpr.py +++ b/src/plugins/lib/libplugins.gpr.py @@ -254,3 +254,19 @@ fname = 'libpersonview.py', authors = ["The Gramps project"], authors_email = ["http://gramps-project.org"], ) + +#------------------------------------------------------------------------ +# +# libplaceview +# +#------------------------------------------------------------------------ +register(GENERAL, +id = 'libplaceview', +name = "lib for the place list views", +description = _("Provides the Base needed for the List Place views.") , +version = '1.0', +status = STABLE, +fname = 'libplaceview.py', +authors = ["The Gramps project"], +authors_email = ["http://gramps-project.org"], +) diff --git a/src/plugins/view/placetreeview.py b/src/plugins/view/placetreeview.py index c1afaafcb..6757ee3a3 100644 --- a/src/plugins/view/placetreeview.py +++ b/src/plugins/view/placetreeview.py @@ -29,7 +29,7 @@ Place Tree View # #------------------------------------------------------------------------- from gui.views.listview import LISTTREE -from gui.views.placebaseview import PlaceBaseView +from libplaceview import PlaceBaseView from gui.views.treemodels.placetreemodel import PlaceTreeModel, COUNTRYLEVELS import gen.lib import Errors diff --git a/src/plugins/view/placeview.py b/src/plugins/view/placeview.py index a613b2ee3..b87749726 100644 --- a/src/plugins/view/placeview.py +++ b/src/plugins/view/placeview.py @@ -28,7 +28,7 @@ Place View # Gramps modules # #------------------------------------------------------------------------- -from gui.views.placebaseview import PlaceBaseView +from libplaceview import PlaceBaseView from gui.views.treemodels import PlaceModel #-------------------------------------------------------------------------