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++) |