--- a/application/data/PodcastQueueView.ra Sun Nov 21 20:11:07 2010 +0000
+++ b/application/data/PodcastQueueView.ra Mon Nov 22 00:32:23 2010 +0000
@@ -58,6 +58,18 @@
},
MENU_ITEM
{
+ txt = STRING_r_view_mark_as_unplayed_cmd_short;
+ command = EPodcastMarkAsUnplayed;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
+ txt = STRING_r_view_mark_as_played_cmd_short;
+ command = EPodcastMarkAsPlayed;
+ flags = EEikMenuItemSpecific;
+ },
+ MENU_ITEM
+ {
txt = STRING_r_view_remove_download_short_cmd;
command = EPodcastRemoveDownload;
flags = EEikMenuItemSpecific;
--- a/application/src/PodcastQueueView.cpp Sun Nov 21 20:11:07 2010 +0000
+++ b/application/src/PodcastQueueView.cpp Mon Nov 22 00:32:23 2010 +0000
@@ -351,7 +351,12 @@
if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
{
aMenuPane->SetItemDimmed(EPodcastMoveDownloadDown, dimDown);
- aMenuPane->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);
+ aMenuPane->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);
+ CShowInfo *info = iPodcastModel.ActiveShowList()[index];
+
+ aMenuPane->SetItemDimmed(EPodcastMarkAsPlayed, info->PlayState() != ENeverPlayed);
+ aMenuPane->SetItemDimmed(EPodcastMarkAsUnplayed, info->PlayState() == ENeverPlayed);
+
}
}
}