Opened 15 years ago

Closed 15 years ago

#7 closed defect (fixed)

Icon in the AP palette is not updating

Reported by: marcopg Owned by: marcopg
Priority: major Milestone:
Component: Sugar Version:
Severity: Keywords: r+
Cc: Distribution/OS:
Bug Status:

Description

Regression from the 0.7 port.

Attachments (1)

apcolor.patch (3.1 KB) - added by marcopg 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by marcopg

comment:1 Changed 15 years ago by marcopg

  • Keywords r? added

comment:2 Changed 15 years ago by erikos

  • Keywords r+ added; r? removed

Looks good - we only need to add the badges for the palette icon as well. And we need to rebase on #2 - but i will wait with that until it is reviewed.

@@ -185,12 +185,15 @@ class AccessPointView(CanvasPulsingIcon):
     def _update(self):
         if self._flags == network.AP_FLAGS_802_11_PRIVACY:
             self.props.badge_name = "emblem-locked"
+            self._palette_icon.props.badge_name = "emblem-locked"
         else:
             self.props.badge_name = None
+            self._palette_icon.props.badge_name = None
 
         self._palette.props.primary_text = self._name
 

comment:3 Changed 15 years ago by erikos

  • Resolution set to fixed
  • Status changed from new to closed

pushed.

Note: See TracTickets for help on using tickets.