application/src/PodcastShowsView.cpp
branchRCL_3
changeset 383 931d0db6374d
parent 376 31968c23152c
child 388 5f24605de6cf
equal deleted inserted replaced
376:31968c23152c 383:931d0db6374d
   799 			toolbar->HideItem(EPodcastUpdateAllFeeds, ETrue, ETrue ); 
   799 			toolbar->HideItem(EPodcastUpdateAllFeeds, ETrue, ETrue ); 
   800 			}
   800 			}
   801 
   801 
   802 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !updatingState, ETrue );
   802 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !updatingState, ETrue );
   803 		
   803 		
   804 		// there seems to be drawing bugs in the toolbar if there is only
   804 	
   805 		// one or two buttons defined in the resource, so we have download
   805 		toolbar->HideItem(EPodcastEmpty, EFalse, ETrue );
   806 		// there but always hidden
   806 		toolbar->SetItemDimmed(EPodcastEmpty, ETrue, ETrue);
   807 		toolbar->HideItem(EPodcastDownloadShow, ETrue, ETrue );
   807 		
   808 		toolbar->HideItem(EPodcastDownloadAll, !iShowNewShows, ETrue);
   808 		toolbar->HideItem(EPodcastDownloadAll, !iShowNewShows, ETrue);
   809 		
   809 		
   810 		TBool showMarkAllPlayed = EFalse;
   810 		TBool showMarkAllPlayed = EFalse;
   811 		TBool showDownloadAll = EFalse;
   811 		TBool showDownloadAll = EFalse;
   812 		for (int i=0;i<iPodcastModel.ActiveShowList().Count();i++)
   812 		for (int i=0;i<iPodcastModel.ActiveShowList().Count();i++)