56
54
def on_press(self, source, event):
58
56
gobject.source_remove(self._timeout_id)
61
60
self._timeout_id = gobject.timeout_add(self.long_delay, self.on_long_press, source)
62
61
#if self.long_msg is not None:
63
62
# self.launchEvent('info', 'Hold %s seconds to %s' %(self.long_delay_ms/1000, self.long_msg))