--- a/application/src/PodcastQueueView.cpp Mon Nov 15 20:54:27 2010 +0000
+++ b/application/src/PodcastQueueView.cpp Mon Nov 15 21:37:46 2010 +0000
@@ -337,7 +337,7 @@
}
break;
default:
- CPodcastListView::HandleCommandL(aCommand);
+ CPodcastShowsView::HandleCommandL(aCommand);
break;
}
iListContainer->SetLongTapDetectedL(EFalse); // in case we got here by long tapping
@@ -391,7 +391,13 @@
iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadDown, dimDown);
iStylusPopupMenu->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);
-
+
+ TInt index = iListContainer->Listbox()->CurrentItemIndex();
+ CShowInfo *info = iPodcastModel.ActiveShowList()[index];
+
+ iStylusPopupMenu->SetItemDimmed(EPodcastMarkAsPlayed, info->PlayState() != ENeverPlayed);
+ iStylusPopupMenu->SetItemDimmed(EPodcastMarkAsUnplayed, info->PlayState() == ENeverPlayed);
+
iStylusPopupMenu->ShowMenu();
iStylusPopupMenu->SetPosition(aPenEventLocation);
}