equal
deleted
inserted
replaced
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; |