application/src/PodcastQueueView.cpp
branchRCL_3
changeset 387 422f96ee6672
parent 383 931d0db6374d
--- 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);
+
 			}
 		}
 	}