[Dextrose] [PATCH] fix duplicate adhoc icons
Steven Parrish
smparrish at gmail.com
Sat Dec 4 09:02:05 EST 2010
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
More information about the Dextrose
mailing list