2
Description: Bug 8612 - Introspection problem with gtk 3.16
3
In debian, gtk was recently switched to 3.16 from 3.14 and this caused
4
an error message and some strange behaviour when clicking on a pin in
5
the Geography View. In some cases Gramps became completely unusable at
7
Origin: upstream, https://github.com/gramps-project/gramps/commit/6605d868cbf2425f5c6f9e47d19e60f760742841
8
Bug: https://gramps-project.org/bugs/view.php?id=8612
9
Bug-Debian: http://bugs.debian.org/789333
11
--- gramps.orig/gramps/plugins/lib/maps/geography.py
12
+++ gramps/gramps/plugins/lib/maps/geography.py
17
- menu.popup(None, None,
18
- lambda menu, data: (event.get_root_coords()[0],
19
- event.get_root_coords()[1], True),
20
+ menu.popup(None, None, None,
21
None, event.button, event.time)
24
--- gramps.orig/gramps/plugins/view/geoclose.py
25
+++ gramps/gramps/plugins/view/geoclose.py
27
event, lat, lon, prevmark)
28
itemoption.append(center)
30
- menu.popup(None, None,
31
- lambda menu, data: (event.get_root_coords()[0],
32
- event.get_root_coords()[1], True),
33
+ menu.popup(None, None, None,
34
None, event.button, event.time)
37
--- gramps.orig/gramps/plugins/view/geoevents.py
38
+++ gramps/gramps/plugins/view/geoevents.py
41
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
42
itemoption.append(bookm)
43
- menu.popup(None, None,
44
- lambda menu, data: (event.get_root_coords()[0],
45
- event.get_root_coords()[1], True),
46
+ menu.popup(None, None, None,
47
None, event.button, event.time)
50
--- gramps.orig/gramps/plugins/view/geofamclose.py
51
+++ gramps/gramps/plugins/view/geofamclose.py
53
event, lat, lon, prevmark)
54
itemoption.append(center)
56
- menu.popup(None, None,
57
- lambda menu, data: (event.get_root_coords()[0],
58
- event.get_root_coords()[1], True),
59
+ menu.popup(None, None, None,
60
None, event.button, event.time)
63
--- gramps.orig/gramps/plugins/view/geofamily.py
64
+++ gramps/gramps/plugins/view/geofamily.py
68
self.add_event_bubble_message(event, lat, lon, prevmark, add_item)
69
- menu.popup(None, None,
70
- lambda menu, data: (event.get_root_coords()[0],
71
- event.get_root_coords()[1], True),
72
+ menu.popup(None, None, None,
73
None, event.button, event.time)
76
--- gramps.orig/gramps/plugins/view/geomoves.py
77
+++ gramps/gramps/plugins/view/geomoves.py
79
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
80
itemoption.append(bookm)
82
- menu.popup(None, None,
83
- lambda menu, data: (event.get_root_coords()[0],
84
- event.get_root_coords()[1], True),
85
+ menu.popup(None, None, None,
86
None, event.button, event.time)
89
--- gramps.orig/gramps/plugins/view/geoperson.py
90
+++ gramps/gramps/plugins/view/geoperson.py
92
center.connect("activate", self.center_here, event, lat, lon, prevmark)
93
itemoption.append(center)
95
- menu.popup(None, None,
96
- lambda menu, data: (event.get_root_coords()[0],
97
- event.get_root_coords()[1], True),
98
+ menu.popup(None, None, None,
99
None, event.button, event.time)
102
--- gramps.orig/gramps/plugins/view/geoplaces.py
103
+++ gramps/gramps/plugins/view/geoplaces.py
106
bookm.connect("activate", self.add_bookmark_from_popup, hdle)
107
itemoption.append(bookm)
108
- menu.popup(None, None,
109
- lambda menu, data: (event.get_root_coords()[0],
110
- event.get_root_coords()[1], True),
111
+ menu.popup(None, None, None,
112
None, event.button, event.time)