diff -r 3321d3e205b6 -r b01126ce0bec idlehomescreen/widgetmanager/src/wmlistbox.cpp --- a/idlehomescreen/widgetmanager/src/wmlistbox.cpp Tue Sep 14 20:58:58 2010 +0300 +++ b/idlehomescreen/widgetmanager/src/wmlistbox.cpp Wed Sep 15 12:00:00 2010 +0300 @@ -184,14 +184,13 @@ CWindowGc& gc = *Gc(); MAknsSkinInstance* skin = AknsUtils::SkinInstance(); TBool highlightEnabled = !( iListBox->ItemDrawer()->Flags() & - CListItemDrawer::ESingleClickDisabledHighlight ); - TBool listFocused = ((iListBox->IsFocused() && !aViewIsDimmed) ? ETrue : EFalse); + CListItemDrawer::ESingleClickDisabledHighlight ); TRect itemRect = TRect( aItemRectPos, cellSize ); CFormattedCellListBoxItemDrawer::DrawEmptyItem( aItemIndex, aItemRectPos, aViewIsDimmed ); - if ( aItemIsCurrent && listFocused && highlightEnabled ) + if ( aItemIsCurrent && !aViewIsDimmed && highlightEnabled ) { TRect innerRect( itemRect ); const TInt highlightOffset = 5; @@ -241,7 +240,7 @@ // DRAW NAME TRgb textColor; TAknsQsnTextColorsIndex index = - ( aItemIsCurrent && listFocused && highlightEnabled )? + ( aItemIsCurrent && aViewIsDimmed && highlightEnabled )? EAknsCIQsnTextColorsCG10 : EAknsCIQsnTextColorsCG6; AknsUtils::GetCachedColor(