application/src/PodcastAppui.cpp
branchsymbian1
changeset 45 56d4e0784e5d
parent 35 66c5303f3610
child 50 e7b10d6d7ba3
equal deleted inserted replaced
44:f6f9647922ba 45:56d4e0784e5d
   213 		{
   213 		{
   214 		TUid newview = TUid::Uid(0);
   214 		TUid newview = TUid::Uid(0);
   215 		TUid messageUid = TUid::Uid(0);
   215 		TUid messageUid = TUid::Uid(0);
   216 		
   216 		
   217 		if (aIndex == KTabIdFeeds) {
   217 		if (aIndex == KTabIdFeeds) {
   218 			newview = KUidPodcastFeedViewID;
   218 			if (iFeedView->ViewingShows()) 
       
   219 				{
       
   220 				newview = KUidPodcastShowsViewID;
       
   221 				}
       
   222 			else
       
   223 				{
       
   224 				newview = KUidPodcastFeedViewID;
       
   225 				}
   219 		} else if (aIndex == KTabIdQueue) {
   226 		} else if (aIndex == KTabIdQueue) {
   220 			newview = KUidPodcastQueueViewID;
   227 			newview = KUidPodcastQueueViewID;
   221 		} else {
   228 		} else {
   222 			User::Leave(KErrTooBig);
   229 			User::Leave(KErrTooBig);
   223 		}
   230 		}