--- a/application/src/PodcastAppui.cpp Sat Nov 13 12:34:20 2010 +0000
+++ b/application/src/PodcastAppui.cpp Sat Nov 13 22:05:25 2010 +0000
@@ -207,10 +207,16 @@
{
iTabGroup = STATIC_CAST(CAknTabGroup*, iNaviPane->ResourceDecorator()->DecoratedControl());
iTabGroup->SetObserver(this);
+
iNaviStyle = ENaviTabGroup;
UpdateQueueTabL(iPodcastModel->ShowEngine().GetNumDownloadingShows());
}
+void CPodcastAppUi::SetTabsDimmed(TBool aDimmed)
+ {
+ iTabGroup->SetDimmed(aDimmed);
+ }
+
void CPodcastAppUi::TabChangedL (TInt aIndex)
{
DP("CPodcastListView::TabChangedL ");
@@ -221,15 +227,24 @@
TUid messageUid = TUid::Uid(0);
if (aIndex == KTabIdFeeds)
{
+ DP("one");
if (iFeedView->ViewingShows())
{
+ DP("two");
newview = KUidPodcastShowsViewID;
+ messageUid = TUid::Uid(2);
}
else
{
+ DP("three");
newview = KUidPodcastFeedViewID;
}
}
+ else if (aIndex == KTabIdNew)
+ {
+ newview = KUidPodcastShowsViewID;
+ messageUid = KUidShowNewShows;
+ }
else if (aIndex == KTabIdQueue)
{
newview = KUidPodcastQueueViewID;
@@ -241,6 +256,7 @@
if(newview.iUid != 0)
{
+ DP("four");
ActivateLocalViewL(newview, messageUid, KNullDesC8());
}
}