add connect-event (closes #563)
This commit is contained in:
parent
7c69240ce1
commit
1ee6a9a060
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue