diff --git a/gramps/plugins/view/geoplaces.py b/gramps/plugins/view/geoplaces.py index 311cf4506..e187a3d23 100644 --- a/gramps/plugins/view/geoplaces.py +++ b/gramps/plugins/view/geoplaces.py @@ -288,9 +288,13 @@ class GeoPlaces(GeoGraphyView): self._create_one_place(place) progress.step() progress.close() - elif place_x: + elif place_x != None: place = dbstate.db.get_place_from_handle(place_x) self._create_one_place(place) + self.message_layer.add_message( + _("Right click on the map and select 'show all places'" + " to show all known places with coordinates. " + "You can use filtering.")) if place.get_latitude() != "" and place.get_longitude() != "": latitude, longitude = conv_lat_lon(place.get_latitude(), place.get_longitude(), @@ -298,6 +302,12 @@ class GeoPlaces(GeoGraphyView): self.osm.set_center_and_zoom(float(latitude), float(longitude), int(config.get( "geography.zoom_when_center"))) + else: + self.message_layer.add_message( + _("Right click on the map and select 'show all places'" + " to show all known places with coordinates. " + " You can use the history to navigate on the map. " + "You can use filtering.")) _LOG.debug(" stop createmap.") _LOG.debug("%s", time.strftime("begin sort : " "%a %d %b %Y %H:%M:%S", time.gmtime()))