185 // Currently only keylock indicator is updated, because |
185 // Currently only keylock indicator is updated, because |
186 // thats the only indicator whose state may change while screensaver |
186 // thats the only indicator whose state may change while screensaver |
187 // is displaying. Other indicators' state changing also dismisses |
187 // is displaying. Other indicators' state changing also dismisses |
188 // screensaver. Once redisplaying, the indicators are updated anyway. |
188 // screensaver. Once redisplaying, the indicators are updated anyway. |
189 // Key lock indicator depends on status of key guard. |
189 // Key lock indicator depends on status of key guard. |
|
190 TIndicatorPayload payload; |
|
191 payload.iType = EPayloadTypeInteger; |
|
192 |
190 Array().SetDependencyStatus( ESsKeyLockInd, !Model().SharedDataInterface()->IsKeyguardOn() ); |
193 Array().SetDependencyStatus( ESsKeyLockInd, !Model().SharedDataInterface()->IsKeyguardOn() ); |
|
194 payload.iInteger = Model().SharedDataInterface()->UnreadMessagesNumber(); |
|
195 Array().SetIndicatorPayload( ESsNewMessagesInd, payload ); |
|
196 Array().SetDependencyStatus( ESsNewMessagesInd, ( payload.iInteger <= 0 ) ); |
|
197 Array().SetDependencyStatus( ESsVoicemailInd, !Model().SharedDataInterface()->IsHaveNewVoicemail() ); |
191 SCRLOGGER_WRITEF( _L("SCR:CScreensaverCtrlMovingText::Refresh move") ); |
198 SCRLOGGER_WRITEF( _L("SCR:CScreensaverCtrlMovingText::Refresh move") ); |
192 // Don't move bar during this refresh |
199 // Don't move bar during this refresh |
193 SetMoving( EFalse ); |
200 SetMoving( EFalse ); |
194 SCRLOGGER_WRITEF( _L("SCR:CScreensaverCtrlMovingText::Refresh DrawObject") ); |
201 SCRLOGGER_WRITEF( _L("SCR:CScreensaverCtrlMovingText::Refresh DrawObject") ); |
195 // Cause a redraw |
202 // Cause a redraw |