[Sugar-devel] Automatically Retrying an AP?
C. Scott Ananian
cscott at laptop.org
Thu Feb 4 15:01:11 EST 2010
On Thu, Feb 4, 2010 at 2:55 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Thu, Feb 4, 2010 at 1:26 PM, C. Scott Ananian <cscott at laptop.org> wrote:
>> I thought that had been moved into NM. I could be wrong.
>
> In Sugar 0.82 this seems to be handled but a bunch of objects, and I
> don't yet understand how they tie together. But
> src/view/home/MeshBox.py has a _disconnect_activate_cb() method that
> seems to switch to mesh mode.
>
> def _disconnect_activate_cb(self, menuitem):
> # Disconnection for an AP means activating the default mesh device
> network_manager = hardwaremanager.get_network_manager()
> if network_manager and self._meshdev:
> network_manager.set_active_device(self._meshdev)
> self._palette.props.secondary_text = _('Disconnecting...')
> self.props.pulsing = False
>
> There are however several methods around with the same name, so it
> could be this one. Or the other one.
>
> Hopefully ppl who hacked on this code will say "yes, you're looking at
> the right place". Or "lookie over there..."
http://www.google.com/search?q=networkmanager-list+mesh+site:mail-archive.com
--scott
--
( http://cscott.net/ )
More information about the Sugar-devel
mailing list