# HG changeset patch # User Sebastian Brannstrom # Date 1288103062 -3600 # Node ID 67f53e831ab0f16736de60717c21df225a90d7d9 # Parent e5240be0ddbb1ef79708973d4980545502eb1866 Fix for bug 3876 diff -r e5240be0ddbb -r 67f53e831ab0 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 ?