[Dextrose] [PATCH] fix duplicate adhoc icons

Martin Abente martin.abente.lahaye at gmail.com
Sat Dec 4 10:33:34 EST 2010


Great :)

On Sat, Dec 4, 2010 at 11:02 AM, Steven Parrish <smparrish at gmail.com> wrote:

> On Tue, Nov 30, 2010 at 9:14 AM, Martin Abente
> <martin.abente.lahaye at gmail.com> wrote:
> > Removed disconnect call for SugarAdhocView icons.
> >
> > This method is not defined for that class and caused multiple
> > adhoc icons to appear after every sleep and wake process.
> > ---
> >  src/jarabe/desktop/meshbox.py |    1 -
> >  1 files changed, 0 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/jarabe/desktop/meshbox.py
> b/src/jarabe/desktop/meshbox.py
> > index 47ea64e..fb4be4e 100644
> > --- a/src/jarabe/desktop/meshbox.py
> > +++ b/src/jarabe/desktop/meshbox.py
> > @@ -1340,7 +1340,6 @@ class MeshBox(gtk.VBox):
> >
> >     def remove_adhoc_networks(self):
> >         for icon in self._adhoc_networks:
> > -            icon.disconnect()
> >             self._layout.remove(icon)
> >         self._adhoc_networks = []
> >
> > --
> > 1.7.1
> >
> >
>
> The icon.disconnect()   was added as part of a previous patch.  I
> modified that patch to exclude that line
>
> Steven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20101204/dc673f23/attachment.html>


More information about the Dextrose mailing list