--- a/application/src/PodcastQueueView.cpp Tue Oct 26 15:58:11 2010 +0100
+++ b/application/src/PodcastQueueView.cpp Fri Nov 12 20:48:14 2010 +0000
@@ -61,8 +61,6 @@
CPodcastListView::ConstructL();
CreateIconsL();
-
- iListContainer->Listbox()->SetListBoxObserver(this);
iPodcastModel.FeedEngine().AddObserver(this);
iPodcastModel.ShowEngine().AddObserver(this);
@@ -155,6 +153,7 @@
void CPodcastQueueView::UpdateListboxItemsL()
{
+ DP("CPodcastQueueView::UpdateListboxItemsL BEGIN");
if (iListContainer->IsVisible() && !iDontUpdateList)
{
TListItemProperties itemProps;
@@ -194,10 +193,11 @@
}
else
{
- iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL();
+ //iListContainer->Listbox()->ItemDrawer()->ClearAllPropertiesL();
iListContainer->Listbox()->Reset();
iItemIdArray.Reset();
iItemArray->Reset();
+ iItemArrayShort->Reset();
if (len > 0)
{
@@ -207,11 +207,13 @@
FormatShowInfoListBoxItemL(*si);
iItemIdArray.Append(si->Uid());
iItemArray->AppendL(iListboxFormatbuffer);
+ iItemArrayShort->AppendL(iListboxFormatbufferShort);
}
}
else
{
iItemArray->Reset();
+ iItemArrayShort->Reset();
iItemIdArray.Reset();
itemProps.SetDimmed(ETrue);
@@ -221,6 +223,7 @@
}
}
}
+ DP("CPodcastQueueView::UpdateListboxItemsL END");
}
/**
@@ -327,6 +330,11 @@
UpdateListboxItemsL();
}
break;
+ case EPodcastShowInfo:
+ {
+ DisplayShowInfoDialogL();
+ }
+ break;
default:
CPodcastListView::HandleCommandL(aCommand);
break;