equal
deleted
inserted
replaced
335 { |
335 { |
336 DisplayShowInfoDialogL(); |
336 DisplayShowInfoDialogL(); |
337 } |
337 } |
338 break; |
338 break; |
339 default: |
339 default: |
340 CPodcastListView::HandleCommandL(aCommand); |
340 CPodcastShowsView::HandleCommandL(aCommand); |
341 break; |
341 break; |
342 } |
342 } |
343 iListContainer->SetLongTapDetectedL(EFalse); // in case we got here by long tapping |
343 iListContainer->SetLongTapDetectedL(EFalse); // in case we got here by long tapping |
344 UpdateToolbar(); |
344 UpdateToolbar(); |
345 } |
345 } |
389 TBool dimUp = (iListContainer->Listbox()->CurrentItemIndex() <= 0 ? |
389 TBool dimUp = (iListContainer->Listbox()->CurrentItemIndex() <= 0 ? |
390 ETrue : EFalse); |
390 ETrue : EFalse); |
391 |
391 |
392 iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadDown, dimDown); |
392 iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadDown, dimDown); |
393 iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadUp, dimUp); |
393 iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadUp, dimUp); |
394 |
394 |
|
395 TInt index = iListContainer->Listbox()->CurrentItemIndex(); |
|
396 CShowInfo *info = iPodcastModel.ActiveShowList()[index]; |
|
397 |
|
398 iStylusPopupMenu->SetItemDimmed(EPodcastMarkAsPlayed, info->PlayState() != ENeverPlayed); |
|
399 iStylusPopupMenu->SetItemDimmed(EPodcastMarkAsUnplayed, info->PlayState() == ENeverPlayed); |
|
400 |
395 iStylusPopupMenu->ShowMenu(); |
401 iStylusPopupMenu->ShowMenu(); |
396 iStylusPopupMenu->SetPosition(aPenEventLocation); |
402 iStylusPopupMenu->SetPosition(aPenEventLocation); |
397 } |
403 } |
398 |
404 |
399 DP("CPodcastQueueView::HandleLongTapEventL END"); |
405 DP("CPodcastQueueView::HandleLongTapEventL END"); |