application/src/PodcastShowsView.cpp
changeset 53 21ffe6559297
parent 50 e7b10d6d7ba3
child 63 a8538f50e2ba
equal deleted inserted replaced
52:b778853e60a7 53:21ffe6559297
   650 		TBool updatingState = iPodcastModel.FeedEngine().ClientState() != EIdle && 
   650 		TBool updatingState = iPodcastModel.FeedEngine().ClientState() != EIdle && 
   651 				iPodcastModel.FeedEngine().ActiveClientUid() == iPodcastModel.ActiveFeedInfo()->Uid();
   651 				iPodcastModel.FeedEngine().ActiveClientUid() == iPodcastModel.ActiveFeedInfo()->Uid();
   652 	
   652 	
   653 		toolbar->HideItem(EPodcastUpdateFeed, updatingState, ETrue ); 
   653 		toolbar->HideItem(EPodcastUpdateFeed, updatingState, ETrue ); 
   654 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !updatingState, ETrue );
   654 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !updatingState, ETrue );
   655 
   655 #ifndef SYMBIAN1_UI
   656 #ifdef SYMBIAN1_UI
   656 		// there seems to be drawing bugs in the toolbar if there is only
       
   657 		// one or two buttons defined in the resource, so we have download
       
   658 		// there but always hidden
       
   659 		toolbar->HideItem(EPodcastDownloadShow, ETrue, ETrue );
       
   660 #else SYMBIAN1_UI
   657 		RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
   661 		RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
   658 		TInt itemCnt = fItems.Count();
   662 		TInt itemCnt = fItems.Count();
   659 	
   663 	
   660 		TBool hideDownloadShowCmd = EFalse;
   664 		TBool hideDownloadShowCmd = EFalse;
   661 		TBool dimDownloadShowCmd = EFalse;
   665 		TBool dimDownloadShowCmd = EFalse;