diff --git a/gramps/plugins/lib/maps/geography.py b/gramps/plugins/lib/maps/geography.py index de3ece986..6492a801d 100644 --- a/gramps/plugins/lib/maps/geography.py +++ b/gramps/plugins/lib/maps/geography.py @@ -437,7 +437,7 @@ class GeoGraphyView(OsmGps, NavigationView): # Add specific module menu self.add_specific_menu(menu, event, lat, lon) # Add a separator line - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) diff --git a/gramps/plugins/view/geoclose.py b/gramps/plugins/view/geoclose.py index b22152928..09ea12864 100644 --- a/gramps/plugins/view/geoclose.py +++ b/gramps/plugins/view/geoclose.py @@ -648,7 +648,7 @@ class GeoClose(GeoGraphyView): """ Add specific entry to the navigation menu. """ - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) add_item = Gtk.MenuItem( diff --git a/gramps/plugins/view/geoevents.py b/gramps/plugins/view/geoevents.py index 479565c15..22894aac9 100644 --- a/gramps/plugins/view/geoevents.py +++ b/gramps/plugins/view/geoevents.py @@ -450,7 +450,7 @@ class GeoEvents(GeoGraphyView): """ Add specific entry to the navigation menu. """ - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) add_item = Gtk.MenuItem(label=_("Show all events")) diff --git a/gramps/plugins/view/geofamclose.py b/gramps/plugins/view/geofamclose.py index 739a3b517..8bc73e3b5 100644 --- a/gramps/plugins/view/geofamclose.py +++ b/gramps/plugins/view/geofamclose.py @@ -831,7 +831,7 @@ class GeoFamClose(GeoGraphyView): """ Add specific entry to the navigation menu. """ - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) add_item = Gtk.MenuItem( diff --git a/gramps/plugins/view/geoperson.py b/gramps/plugins/view/geoperson.py index ec42546bd..1529e9c5e 100644 --- a/gramps/plugins/view/geoperson.py +++ b/gramps/plugins/view/geoperson.py @@ -577,7 +577,7 @@ class GeoPerson(GeoGraphyView): """ Add specific entry to the navigation menu. """ - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) add_item = Gtk.MenuItem(label=_("Animate")) diff --git a/gramps/plugins/view/geoplaces.py b/gramps/plugins/view/geoplaces.py index 48d74da52..55dae1798 100644 --- a/gramps/plugins/view/geoplaces.py +++ b/gramps/plugins/view/geoplaces.py @@ -539,9 +539,10 @@ class GeoPlaces(GeoGraphyView): """ Add specific entry to the navigation menu. """ - add_item = Gtk.MenuItem() + add_item = Gtk.SeparatorMenuItem() add_item.show() menu.append(add_item) + add_item = Gtk.MenuItem(label=_("Show all places")) add_item.connect("activate", self.show_all_places, event, lat, lon) add_item.show()