application/src/PodcastQueueView.cpp
branchRCL_3
changeset 295 67f53e831ab0
parent 265 72305c65726c
child 301 f5af16df2425
--- a/application/src/PodcastQueueView.cpp	Tue Oct 26 13:12:29 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Tue Oct 26 15:24:22 2010 +0100
@@ -274,8 +274,8 @@
 				iPodcastModel.ShowEngine().ResumeDownloadsL();
 				}
 				
+			UpdateListboxItemsL();
 			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
-			UpdateListboxItemsL();
 			}
 			break;
 		case EPodcastMoveDownloadDown:
@@ -298,8 +298,8 @@
 				iPodcastModel.ShowEngine().ResumeDownloadsL();
 				}
 			
-			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
 			UpdateListboxItemsL();
+			iListContainer->Listbox()->SetCurrentItemIndex(index + 1);
 			}
 			break;
 		case EPodcastSuspendDownloads:
@@ -327,10 +327,8 @@
 	
 void CPodcastQueueView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane)
 	{
-	if(aResourceId == R_PODCAST_SHOWSVIEW_MENU)
+	if(aResourceId == R_PODCAST_QUEUEVIEW_MENU)
 		{
-		aMenuPane->SetItemDimmed(EPodcastMarkAllPlayed, ETrue);
-		
 		TBool dimDown = (iListContainer->Listbox()->CurrentItemIndex() >= iPodcastModel.ActiveShowList().Count() - 1 ?
 				ETrue : EFalse);
 		TBool dimUp = (iListContainer->Listbox()->CurrentItemIndex() <= 0 ?