Ticket #3091: 0001-Update-alpha-according-to-filter-after-events-in-nei.patch

File 0001-Update-alpha-according-to-filter-after-events-in-nei.patch, 1.5 KB (added by godiard, 11 years ago)
  • src/jarabe/desktop/networkviews.py

    From f6b4a58ee06529fcafe916647dfcac902e913dd1 Mon Sep 17 00:00:00 2001
    From: Gonzalo Odiard <godiard@gmail.com>
    Date: Thu, 22 Sep 2011 16:06:10 -0300
    Subject: [PATCH] Update alpha according to filter after events in
     neighborhoodview icons - SL #3091
    
    Signed-off-by: Gonzalo Odiard <gonzalo@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 b class WirelessNetworkView(CanvasPulsingIcon): 
    149149        self._update_state()
    150150        self._update_icon()
    151151        self._update_badge()
     152        self._update_color()
    152153
    153154    def __update_active_ap(self, ap_path):
    154155        if ap_path in self._access_points:
    class SugarAdhocView(CanvasPulsingIcon): 
    558559            self._connect_item.show()
    559560            self._palette.props.secondary_text = None
    560561            self.props.pulsing = False
     562        self._update_color()
    561563
    562564    def _update_color(self):
    563565        self.props.base_color = self._state_color
    class OlpcMeshView(CanvasPulsingIcon): 
    691693            self._connect_item.show()
    692694            self._palette.props.secondary_text = None
    693695            self.props.pulsing = False
     696        self._update_color()
    694697
    695698    def _update_color(self):
    696699        self.props.base_color = profile.get_color()