[Sugar-devel] Wanting to know a bit of (NetworkManager) workflow upon resume-from-suspend

Ajay Garg ajaygargnsit at gmail.com
Wed May 2 01:17:41 EDT 2012


Well.. Hmm.. So that it could mean less (leftover-half-bits) bugs to play
with :P

Regards,
Ajay

On Wed, May 2, 2012 at 10:42 AM, James Cameron <quozl at laptop.org> wrote:

> If all you wish to do is remove the mesh icons from the network
> neighbourhood, why would you also want to clean up the model?
>
> On Wed, May 02, 2012 at 10:29:45AM +0530, Ajay Garg wrote:
> > Yes Chris, that certainly is an option.
> > But removing the references to the device itself, would clean up both
> the model
> > and the view; whereas this (as I think) only removes the view.
> >
> > Regards,
> > Ajay
> >
> > On Wed, May 2, 2012 at 10:18 AM, Chris Ball <cjb at laptop.org> wrote:
> >
> >     Hi,
> >
> >     On Wed, May 02 2012, Ajay Garg wrote:
> >     > Just wish to remove the mesh-icons from Neighborhood-View.
> >
> >     Have you considered just removing the icons directly?
> >
> >     diff --git a/src/jarabe/desktop/meshbox.py
> b/src/jarabe/desktop/meshbox.py
> >     index 20dc413..0aa8c7f 100644
> >     --- a/src/jarabe/desktop/meshbox.py
> >     +++ b/src/jarabe/desktop/meshbox.py
> >     @@ -635,9 +635,9 @@ class MeshBox(gtk.VBox):
> >
> >         def enable_olpc_mesh(self, mesh_device):
> >             mesh_mgr = OlpcMeshManager(mesh_device)
> >     -        self._add_olpc_mesh_icon(mesh_mgr, 1)
> >     -        self._add_olpc_mesh_icon(mesh_mgr, 6)
> >     -        self._add_olpc_mesh_icon(mesh_mgr, 11)
> >     +        #self._add_olpc_mesh_icon(mesh_mgr, 1)
> >     +        #self._add_olpc_mesh_icon(mesh_mgr, 6)
> >     +        #self._add_olpc_mesh_icon(mesh_mgr, 11)
> >
> >             # the OLPC mesh can be recognised as a "normal" wifi network.
> >     remove
> >             # any such normal networks if they have been created
> >
> >     --
> >     Chris Ball   <cjb at laptop.org>   <http://printf.net/>
> >     One Laptop Per Child
> >
> >
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120502/33ffca9a/attachment.html>


More information about the Sugar-devel mailing list