Speed-up for right-click menu

svn: r14680
This commit is contained in:
Doug Blank 2010-03-07 20:56:56 +00:00
parent 949c1494e0
commit 0d7398c09b
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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