CellRendererInvoker: always reset the long-press controller

Follow up of: ad9b0e9866
This commit is contained in:
Simon Schampijer 2012-11-07 00:45:58 +01:00
parent ad9b0e9866
commit 811676ef4e

View File

@ -1390,8 +1390,8 @@ class CellRendererInvoker(Invoker):
def __long_pressed_event_cb(self, controller, x, y, widget):
if self.point_in_cell_renderer(x, y):
controller.reset()
self.notify_right_click()
controller.reset()
def point_in_cell_renderer(self, event_x, event_y):
pos = self._tree_view.get_path_at_pos(int(event_x), int(event_y))