equal
deleted
inserted
replaced
881 // and mark as played, and not downloaded |
881 // and mark as played, and not downloaded |
882 |
882 |
883 info->SetDownloadState(ENotDownloaded); |
883 info->SetDownloadState(ENotDownloaded); |
884 info->SetPlayState(EPlayed); |
884 info->SetPlayState(EPlayed); |
885 iPodcastModel.ShowEngine().UpdateShowL(*info); |
885 iPodcastModel.ShowEngine().UpdateShowL(*info); |
886 |
886 |
887 UpdateShowItemDataL(iPodcastModel.ActiveShowList()[index], index, 0); |
887 if (iShowNewShows) |
888 iListContainer->Listbox()->DrawItem(index); |
888 { |
|
889 UpdateListboxItemsL(); |
|
890 |
|
891 if (index > 0) |
|
892 { |
|
893 iListContainer->Listbox()->SetCurrentItemIndex(index - 1); |
|
894 } |
|
895 } |
|
896 else |
|
897 { |
|
898 UpdateShowItemDataL(iPodcastModel.ActiveShowList()[index], index, 0); |
|
899 iListContainer->Listbox()->DrawItem(index); |
|
900 } |
889 } |
901 } |
890 } |
902 } |
891 } |
903 } |
892 |
904 |
893 void CPodcastShowsView::DownloadQueueUpdatedL(TInt aDownloadingShows, TInt aQueuedShows) |
905 void CPodcastShowsView::DownloadQueueUpdatedL(TInt aDownloadingShows, TInt aQueuedShows) |