[Sugar-devel] [PATCH sugar] Sugar Ad-hoc network: reconnect after suspend SL #2187
sascha-ml-reply-to-2011-2 at silbe.org
Wed Mar 2 09:23:36 EST 2011
Excerpts from Simon Schampijer's message of Tue Mar 01 23:53:47 +0100 2011:
> Setting the 'autoconnect' property for the connection
> will let NM do the reconnection when the device is up. If
> the Sugar Ad-hoc network is around it will automatically
> connect to it. The connection is not stored after logging
> out of Sugar.
> The autoconnect functionality inside Sugar is still needed
> for the cases when we log into Sugar, after a timeout we
> will connect to an exisiting Ad-hoc network or will default
> to the Sugar Ad-hoc network on channel 1. I increased the
> timeout to 60 seconds because during testing I found to
> get more reliable results like that.
Acked-By: Sascha Silbe <silbe at activitycentral.com>
> self._idle_source = gobject.timeout_add_seconds( \
> - self._AUTOCONNECT_TIMEOUT, self.__idle_check_cb)
> + self._AUTOCONNECT_TIMEOUT, self.__idle_check_cb)
As you're already at it, please remove the backslash on the first line
(implicit  instead of explicit  line joining).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 494 bytes
Desc: not available
More information about the Sugar-devel