application/src/PodcastAppui.cpp
branchRCL_3
changeset 367 4b75876aa85a
parent 304 9d25c062a380
--- a/application/src/PodcastAppui.cpp	Sat Nov 13 11:50:23 2010 +0000
+++ b/application/src/PodcastAppui.cpp	Sun Nov 14 13:05:37 2010 +0000
@@ -210,10 +210,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 ");
@@ -227,12 +233,18 @@
 			if (iFeedView->ViewingShows())
 				{
 				newview = KUidPodcastShowsViewID;
+				messageUid = TUid::Uid(2);
 				}
 			else
 				{
 				newview = KUidPodcastFeedViewID;
 				}
 			} 
+		else if (aIndex == KTabIdNew)
+			{
+			newview = KUidPodcastShowsViewID;
+			messageUid = KUidShowNewShows;
+			}
 		else if (aIndex == KTabIdQueue)
 			{
 			newview = KUidPodcastQueueViewID;