application/src/PodcastShowsView.cpp
branchRCL_3
changeset 294 e5240be0ddbb
parent 293 b5bd609d3792
child 313 0f30a75610de
equal deleted inserted replaced
293:b5bd609d3792 294:e5240be0ddbb
   625 	
   625 	
   626 void CPodcastShowsView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane)
   626 void CPodcastShowsView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane)
   627 {
   627 {
   628 	if(aResourceId == R_PODCAST_SHOWSVIEW_MENU)
   628 	if(aResourceId == R_PODCAST_SHOWSVIEW_MENU)
   629 		{
   629 		{
   630 		TBool updatingState = iPodcastModel.FeedEngine().ClientState() != EIdle && iPodcastModel.FeedEngine().ActiveClientUid() == iPodcastModel.ActiveFeedInfo()->Uid();
       
   631 		aMenuPane->SetItemDimmed(EPodcastMarkAllPlayed, updatingState);
       
   632 
       
   633 		TInt index = iListContainer->Listbox()->CurrentItemIndex();
   630 		TInt index = iListContainer->Listbox()->CurrentItemIndex();
   634 		
   631 		
   635 		if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   632 		if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
   636 			{			
   633 			{			
   637 			CShowInfo* info = iPodcastModel.ActiveShowList()[index];
   634 			CShowInfo* info = iPodcastModel.ActiveShowList()[index];