equal
deleted
inserted
replaced
246 { |
246 { |
247 case KErrCouldNotConnect: |
247 case KErrCouldNotConnect: |
248 { |
248 { |
249 TBuf<KMaxMessageLength> message; |
249 TBuf<KMaxMessageLength> message; |
250 iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR); |
250 iEikonEnv->ReadResourceL(message, R_PODCAST_CONNECTION_ERROR); |
251 ShowErrorMessage(message); |
251 ShowErrorMessageL(message); |
252 } |
252 } |
253 break; |
253 break; |
254 default: // Do nothing |
254 default: // Do nothing |
255 break; |
255 break; |
256 } |
256 } |
514 case EPodcastRemoveAllDownloads: |
514 case EPodcastRemoveAllDownloads: |
515 { |
515 { |
516 TBuf<KMaxMessageLength> msg; |
516 TBuf<KMaxMessageLength> msg; |
517 iEikonEnv->ReadResourceL(msg, R_CLEAR_QUERY); |
517 iEikonEnv->ReadResourceL(msg, R_CLEAR_QUERY); |
518 |
518 |
519 if(ShowQueryMessage(msg)) |
519 if(ShowQueryMessageL(msg)) |
520 { |
520 { |
521 iPodcastModel.ShowEngine().RemoveAllDownloads(); |
521 iPodcastModel.ShowEngine().RemoveAllDownloadsL(); |
522 UpdateListboxItemsL(); |
522 UpdateListboxItemsL(); |
523 } |
523 } |
524 } |
524 } |
525 break; |
525 break; |
526 case EPodcastRemoveDownload: |
526 case EPodcastRemoveDownload: |
556 break; |
556 break; |
557 default: |
557 default: |
558 CPodcastListView::HandleCommandL(aCommand); |
558 CPodcastListView::HandleCommandL(aCommand); |
559 break; |
559 break; |
560 } |
560 } |
561 iListContainer->SetLongTapDetected(EFalse); // in case we got here by long tapping |
561 iListContainer->SetLongTapDetectedL(EFalse); // in case we got here by long tapping |
562 UpdateToolbar(); |
562 UpdateToolbar(); |
563 } |
563 } |
564 |
564 |
565 void CPodcastQueueView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane) |
565 void CPodcastQueueView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane) |
566 { |
566 { |