base place view should be a plugin lib, only used in other plugins

svn: r14200
This commit is contained in:
Benny Malengier 2010-02-03 20:44:00 +00:00
parent 5584060f83
commit 201a0103df
6 changed files with 20 additions and 4 deletions

View File

@ -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

View File

@ -19,6 +19,7 @@ pkgdata_PYTHON = \
libmixin.py\
libodfbackend.py\
libpersonview.py\
libplaceview.py\
libplugins.gpr.py\
libtranslate.py

View File

@ -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"],
)

View File

@ -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

View File

@ -28,7 +28,7 @@ Place View
# Gramps modules
#
#-------------------------------------------------------------------------
from gui.views.placebaseview import PlaceBaseView
from libplaceview import PlaceBaseView
from gui.views.treemodels import PlaceModel
#-------------------------------------------------------------------------