Constructors don't return things; renderer gets set in constructor
svn: r13895
This commit is contained in:
parent
ab3dfe1415
commit
61e3237d5a
@ -238,8 +238,7 @@ class GeoView(HtmlView):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, dbstate, uistate):
|
def __init__(self, dbstate, uistate):
|
||||||
self.renderer = HtmlView.__init__(self, dbstate, uistate,
|
HtmlView.__init__(self, dbstate, uistate, title=_("GeoView"))
|
||||||
title=_("GeoView"))
|
|
||||||
self.dbstate = dbstate
|
self.dbstate = dbstate
|
||||||
self.uistate = uistate
|
self.uistate = uistate
|
||||||
self.dbstate.connect('database-changed', self._new_database)
|
self.dbstate.connect('database-changed', self._new_database)
|
||||||
|
Loading…
Reference in New Issue
Block a user