add connect-event (closes #563)

This commit is contained in:
Juke 2011-03-16 09:57:18 +01:00 committed by Romain Bignon
commit 1ee6a9a060

View file

@ -70,6 +70,7 @@ class MasstransitHildon():
self.weboob = weboob
try :
self.connection = conic.Connection()
self.connection.connect("connection-event", self.connect_event)
self.connection.set_property("automatic-connection-events", True)
self.connection.request_connection(conic.CONNECT_FLAG_NONE)
except NotImplementedError: