Fix for bug 3876 RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Tue, 26 Oct 2010 15:24:22 +0100
branchRCL_3
changeset 295 67f53e831ab0
parent 294 e5240be0ddbb
child 297 d3cc41f88e82
Fix for bug 3876
application/src/PodcastQueueView.cpp
--- 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 ?