[Sugar-devel] [PATCH] Update alpha according to filter after events in neighborhoodview icons - SL #3091
godiard at sugarlabs.org
godiard at sugarlabs.org
Thu Sep 22 15:11:42 EDT 2011
From: Gonzalo Odiard <godiard at gmail.com>
Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
---
src/jarabe/desktop/networkviews.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/jarabe/desktop/networkviews.py b/src/jarabe/desktop/networkviews.py
index 616f555..055f2ed 100644
--- a/src/jarabe/desktop/networkviews.py
+++ b/src/jarabe/desktop/networkviews.py
@@ -149,6 +149,7 @@ class WirelessNetworkView(CanvasPulsingIcon):
self._update_state()
self._update_icon()
self._update_badge()
+ self._update_color()
def __update_active_ap(self, ap_path):
if ap_path in self._access_points:
@@ -558,6 +559,7 @@ class SugarAdhocView(CanvasPulsingIcon):
self._connect_item.show()
self._palette.props.secondary_text = None
self.props.pulsing = False
+ self._update_color()
def _update_color(self):
self.props.base_color = self._state_color
@@ -691,6 +693,7 @@ class OlpcMeshView(CanvasPulsingIcon):
self._connect_item.show()
self._palette.props.secondary_text = None
self.props.pulsing = False
+ self._update_color()
def _update_color(self):
self.props.base_color = profile.get_color()
--
1.7.4.4
More information about the Sugar-devel
mailing list