geography : bug when we changed the map in the events and places map.
svn: r17257
This commit is contained in:
parent
199e3a7bab
commit
9db980b00e
@ -722,7 +722,7 @@ class GeoGraphyView(osmGpsMap, NavigationView):
|
|||||||
configdialog.add_text(table,
|
configdialog.add_text(table,
|
||||||
_('If you have no more space in your file system\n'
|
_('If you have no more space in your file system\n'
|
||||||
'You can remove all tiles placed in the above path.\n'
|
'You can remove all tiles placed in the above path.\n'
|
||||||
'Be careful if you have no internet, you\'ll get no map.'),
|
'Be careful! If you have no internet, you\'ll get no map.'),
|
||||||
3)
|
3)
|
||||||
# there is no button. I need to found a solution for this.
|
# there is no button. I need to found a solution for this.
|
||||||
# it can be very dangerous ! if someone put / in geography.path ...
|
# it can be very dangerous ! if someone put / in geography.path ...
|
||||||
|
@ -152,7 +152,7 @@ class osmGpsMap():
|
|||||||
self.osm.show()
|
self.osm.show()
|
||||||
self.vbox.pack_start(self.osm)
|
self.vbox.pack_start(self.osm)
|
||||||
if obj is not None:
|
if obj is not None:
|
||||||
self._createmap(obj)
|
self._createmap(None)
|
||||||
|
|
||||||
def zoom_changed(self, zoom):
|
def zoom_changed(self, zoom):
|
||||||
config.set("geography.zoom",self.osm.props.zoom)
|
config.set("geography.zoom",self.osm.props.zoom)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user