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