[Dextrose] [PATCH] fix duplicate adhoc icons

Martin Abente martin.abente.lahaye at gmail.com
Tue Nov 30 09:14:17 EST 2010


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



More information about the Dextrose mailing list