Speed-up for right-click menu
svn: r14680
This commit is contained in:
parent
949c1494e0
commit
0d7398c09b
@ -542,6 +542,7 @@ class FanChartWidget(gtk.Widget):
|
|||||||
text, person, parents, child = self.data[generation][selected]
|
text, person, parents, child = self.data[generation][selected]
|
||||||
if person and self.context_popup_callback:
|
if person and self.context_popup_callback:
|
||||||
self.context_popup_callback(widget, event, person.handle)
|
self.context_popup_callback(widget, event, person.handle)
|
||||||
|
return True
|
||||||
self.queue_draw()
|
self.queue_draw()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -558,6 +558,7 @@ class FanChartWidget(gtk.Widget):
|
|||||||
text, person, parents, child = self.data[generation][selected]
|
text, person, parents, child = self.data[generation][selected]
|
||||||
if person and self.context_popup_callback:
|
if person and self.context_popup_callback:
|
||||||
self.context_popup_callback(widget, event, person.handle)
|
self.context_popup_callback(widget, event, person.handle)
|
||||||
|
return True
|
||||||
self.queue_draw()
|
self.queue_draw()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user