From 9db980b00e0c523a4b6fe3f5958684f66bbd4efb Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Mon, 25 Apr 2011 21:14:00 +0000 Subject: [PATCH] geography : bug when we changed the map in the events and places map. svn: r17257 --- src/plugins/lib/maps/geography.py | 2 +- src/plugins/lib/maps/grampsmaps.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lib/maps/geography.py b/src/plugins/lib/maps/geography.py index f07783008..6c74a5e4f 100644 --- a/src/plugins/lib/maps/geography.py +++ b/src/plugins/lib/maps/geography.py @@ -722,7 +722,7 @@ class GeoGraphyView(osmGpsMap, NavigationView): configdialog.add_text(table, _('If you have no more space in your file system\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) # there is no button. I need to found a solution for this. # it can be very dangerous ! if someone put / in geography.path ... diff --git a/src/plugins/lib/maps/grampsmaps.py b/src/plugins/lib/maps/grampsmaps.py index 703a858cf..871810ca3 100644 --- a/src/plugins/lib/maps/grampsmaps.py +++ b/src/plugins/lib/maps/grampsmaps.py @@ -152,7 +152,7 @@ class osmGpsMap(): self.osm.show() self.vbox.pack_start(self.osm) if obj is not None: - self._createmap(obj) + self._createmap(None) def zoom_changed(self, zoom): config.set("geography.zoom",self.osm.props.zoom)