CellRendererInvoker: no need to reset the controller manually anymore

This got fixed properly in b2df135844
This commit is contained in:
Simon Schampijer 2012-11-08 10:34:48 +01:00
parent b2df135844
commit c64d5590b0

View File

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