class TheOneRingConnectionManager(tp.ConnectionManager):
+ IDLE_TIMEOUT = 10
+
def __init__(self, shutdown_func=None):
tp.ConnectionManager.__init__(self, constants._telepathy_implementation_name_)
Overrides tp.ConnectionManager
"""
result = tp.ConnectionManager.disconnected(self, conn)
- gobject_utils.timeout_add_seconds(10, self._shutdown)
+ gobject_utils.timeout_add_seconds(self.IDLE_TIMEOUT, self._shutdown)
def quit(self):
"""