base place view should be a plugin lib, only used in other plugins
svn: r14200
This commit is contained in:
parent
5584060f83
commit
201a0103df
@ -12,8 +12,7 @@ pkgdata_PYTHON = \
|
|||||||
__init__.py \
|
__init__.py \
|
||||||
listview.py \
|
listview.py \
|
||||||
navigationview.py \
|
navigationview.py \
|
||||||
pageview.py \
|
pageview.py
|
||||||
placebaseview.py
|
|
||||||
|
|
||||||
pkgpyexecdir = @pkgpyexecdir@/gui/views
|
pkgpyexecdir = @pkgpyexecdir@/gui/views
|
||||||
pkgpythondir = @pkgpythondir@/gui/views
|
pkgpythondir = @pkgpythondir@/gui/views
|
||||||
|
@ -19,6 +19,7 @@ pkgdata_PYTHON = \
|
|||||||
libmixin.py\
|
libmixin.py\
|
||||||
libodfbackend.py\
|
libodfbackend.py\
|
||||||
libpersonview.py\
|
libpersonview.py\
|
||||||
|
libplaceview.py\
|
||||||
libplugins.gpr.py\
|
libplugins.gpr.py\
|
||||||
libtranslate.py
|
libtranslate.py
|
||||||
|
|
||||||
|
@ -254,3 +254,19 @@ fname = 'libpersonview.py',
|
|||||||
authors = ["The Gramps project"],
|
authors = ["The Gramps project"],
|
||||||
authors_email = ["http://gramps-project.org"],
|
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"],
|
||||||
|
)
|
||||||
|
@ -29,7 +29,7 @@ Place Tree View
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gui.views.listview import LISTTREE
|
from gui.views.listview import LISTTREE
|
||||||
from gui.views.placebaseview import PlaceBaseView
|
from libplaceview import PlaceBaseView
|
||||||
from gui.views.treemodels.placetreemodel import PlaceTreeModel, COUNTRYLEVELS
|
from gui.views.treemodels.placetreemodel import PlaceTreeModel, COUNTRYLEVELS
|
||||||
import gen.lib
|
import gen.lib
|
||||||
import Errors
|
import Errors
|
||||||
|
@ -28,7 +28,7 @@ Place View
|
|||||||
# Gramps modules
|
# Gramps modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gui.views.placebaseview import PlaceBaseView
|
from libplaceview import PlaceBaseView
|
||||||
from gui.views.treemodels import PlaceModel
|
from gui.views.treemodels import PlaceModel
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user