# HG changeset patch # User Sebastian Brannstrom # Date 1288532519 0 # Node ID 5afc95a6ad83b0077b32affc4cfb63f446e011d8 # Parent 841ccfa933acf8d26dcbdc49742ea87effc79acd Stability fixes diff -r 841ccfa933ac -r 5afc95a6ad83 application/src/PodcastFeedView.cpp --- a/application/src/PodcastFeedView.cpp Sun Oct 31 13:17:32 2010 +0000 +++ b/application/src/PodcastFeedView.cpp Sun Oct 31 13:41:59 2010 +0000 @@ -164,7 +164,7 @@ iItemArrayShort->Delete(aIndex); iItemArrayShort->InsertL(aIndex, iListboxFormatbufferShort); - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(aIndex, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(aIndex, itemProps); // If item is visible, redraw it if (iListContainer->Listbox()->TopItemIndex() <= aIndex && iListContainer->Listbox()->BottomItemIndex() >= aIndex) @@ -424,7 +424,7 @@ } iListboxFormatbuffer.Format(KFeedFormatPortrait(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); - iListboxFormatbufferShort.Format(KFeedFormatLandscape(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); + iListboxFormatbufferShort.Format(KFeedFormatLandscape(), iconIndex, &(aFeedInfo.Title())); DP("CPodcastFeedView::FormatFeedInfoListBoxItemL END"); } @@ -436,7 +436,8 @@ } void CPodcastFeedView::UpdateFeedInfoDataL(CFeedInfo* aFeedInfo, TInt aIndex, TBool aIsUpdating ) - { + { + DP("CPodcastFeedView::UpdateFeedInfoDataL BEGIN"); TListItemProperties itemProps; itemProps.SetDimmed(aIsUpdating); FormatFeedInfoListBoxItemL(*aFeedInfo, aIsUpdating); @@ -457,7 +458,8 @@ iItemArrayShort->InsertL(aIndex, iListboxFormatbufferShort); } } - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(aIndex, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(aIndex, itemProps); + DP("CPodcastFeedView::UpdateFeedInfoDataL END"); } @@ -489,7 +491,7 @@ iItemArray->AppendL(KNullDesC); iItemArrayShort->AppendL(KNullDesC); TListItemProperties itemProps; - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(iItemArray->Count() - 1, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(iItemArray->Count() - 1, itemProps); } while (iItemArray->Count() > nbrItems) { @@ -511,7 +513,7 @@ TListItemProperties itemProps; itemProps.SetDimmed(ETrue); itemProps.SetHiddenSelection(ETrue); - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(0, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(0, itemProps); } iListContainer->Listbox()->HandleItemAdditionL(); DP("CPodcastFeedView::UpdateListboxItemsL END"); diff -r 841ccfa933ac -r 5afc95a6ad83 application/src/PodcastQueueView.cpp --- a/application/src/PodcastQueueView.cpp Sun Oct 31 13:17:32 2010 +0000 +++ b/application/src/PodcastQueueView.cpp Sun Oct 31 13:41:59 2010 +0000 @@ -185,7 +185,7 @@ } else { - iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); + //iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); iListContainer->Listbox()->Reset(); iItemIdArray.Reset(); iItemArray->Reset(); diff -r 841ccfa933ac -r 5afc95a6ad83 application/src/PodcastSearchView.cpp --- a/application/src/PodcastSearchView.cpp Sun Oct 31 13:17:32 2010 +0000 +++ b/application/src/PodcastSearchView.cpp Sun Oct 31 13:41:59 2010 +0000 @@ -169,7 +169,7 @@ TInt len = searchItems->Count(); TListItemProperties itemProps; iListContainer->Listbox()->Reset(); - iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); + //iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); iItemIdArray.Reset(); iItemArray->Reset(); @@ -186,9 +186,9 @@ PodcastUtils::RemoveAllFormatting(descr); iListboxFormatbuffer.Format(KSearchResultFormat(), iconIndex, &fi->Title(), &descr); iItemArray->AppendL(iListboxFormatbuffer); - iListboxFormatbufferShort.Format(KSearchResultFormatLandscape(), iconIndex, &fi->Title(), &descr); + iListboxFormatbufferShort.Format(KSearchResultFormatLandscape(), iconIndex, &fi->Title()); iItemArrayShort->AppendL(iListboxFormatbufferShort); - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(i, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(i, itemProps); } } else @@ -202,7 +202,7 @@ TListItemProperties itemProps; itemProps.SetDimmed(ETrue); itemProps.SetHiddenSelection(ETrue); - iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(0, itemProps); + //iListContainer->Listbox()->ItemDrawer()->SetPropertiesL(0, itemProps); } iListContainer->Listbox()->HandleItemAdditionL(); DP("CPodcastSearchView::UpdateListboxItemsL END"); diff -r 841ccfa933ac -r 5afc95a6ad83 application/src/PodcastShowsView.cpp --- a/application/src/PodcastShowsView.cpp Sun Oct 31 13:17:32 2010 +0000 +++ b/application/src/PodcastShowsView.cpp Sun Oct 31 13:41:59 2010 +0000 @@ -460,7 +460,7 @@ } iListboxFormatbuffer.Format(KShowFormat(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize); - iListboxFormatbufferShort.Format(KShowFormatLandscape(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize); + iListboxFormatbufferShort.Format(KShowFormatLandscape(), iconIndex, &aShowInfo.Title()); } void CPodcastShowsView::GetShowErrorText(TDes &aErrorMessage, TInt aErrorCode) @@ -542,7 +542,7 @@ } else { - iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); + //iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL(); iListContainer->Listbox()->Reset(); iItemIdArray.Reset(); iItemArray->Reset();