Geography : bug 8612 : introspection problem with gtk 3.16.

This commit is contained in:
SNoiraud 2015-06-07 10:30:00 +02:00
parent 7a57c8584e
commit 6605d868cb
8 changed files with 8 additions and 24 deletions

View File

@ -392,9 +392,7 @@ class GeoGraphyView(OsmGps, NavigationView):
clearmap.show()
menu.append(clearmap)
menu.show()
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1

View File

@ -535,9 +535,7 @@ class GeoClose(GeoGraphyView):
event, lat, lon, prevmark)
itemoption.append(center)
menu.show()
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 0

View File

@ -369,9 +369,7 @@ class GeoEvents(GeoGraphyView):
bookm.show()
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
itemoption.append(bookm)
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1

View File

@ -678,9 +678,7 @@ class GeoFamClose(GeoGraphyView):
event, lat, lon, prevmark)
itemoption.append(center)
menu.show()
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 0

View File

@ -446,9 +446,7 @@ class GeoFamily(GeoGraphyView):
add_item.show()
menu.append(add_item)
self.add_event_bubble_message(event, lat, lon, prevmark, add_item)
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1

View File

@ -610,9 +610,7 @@ class GeoMoves(GeoGraphyView):
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
itemoption.append(bookm)
menu.show()
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1

View File

@ -484,9 +484,7 @@ class GeoPerson(GeoGraphyView):
center.connect("activate", self.center_here, event, lat, lon, prevmark)
itemoption.append(center)
menu.show()
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1

View File

@ -359,9 +359,7 @@ class GeoPlaces(GeoGraphyView):
bookm.show()
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
itemoption.append(bookm)
menu.popup(None, None,
lambda menu, data: (event.get_root_coords()[0],
event.get_root_coords()[1], True),
menu.popup(None, None, None,
None, event.button, event.time)
return 1