equal
deleted
inserted
replaced
360 } |
360 } |
361 |
361 |
362 if(aFeedInfo.LastError() != KErrNone) |
362 if(aFeedInfo.LastError() != KErrNone) |
363 { |
363 { |
364 GetFeedErrorText(unplayedShows, aFeedInfo.LastError()); |
364 GetFeedErrorText(unplayedShows, aFeedInfo.LastError()); |
|
365 updatedDate.Zero(); |
365 } |
366 } |
366 } |
367 } |
367 CArrayPtr<CGulIcon>* icons = iListContainer->Listbox()->ItemDrawer()->FormattedCellData()->IconArray(); |
368 CArrayPtr<CGulIcon>* icons = iListContainer->Listbox()->ItemDrawer()->FormattedCellData()->IconArray(); |
368 iconIndex = iFeedIdForIconArray.Find(aFeedInfo.Uid()); |
369 iconIndex = iFeedIdForIconArray.Find(aFeedInfo.Uid()); |
369 if(iconIndex == KErrNotFound && aFeedInfo.FeedIcon() != NULL && aFeedInfo.ImageFileName().Length() > 0 && |
370 if(iconIndex == KErrNotFound && aFeedInfo.FeedIcon() != NULL && aFeedInfo.ImageFileName().Length() > 0 && |
383 else |
384 else |
384 { |
385 { |
385 iconIndex++; |
386 iconIndex++; |
386 } |
387 } |
387 |
388 |
388 if (unplayedShows.Length() > 0) { |
389 if (unplayedShows.Length() > 0 && updatedDate.Length() > 0) { |
389 unplayedShows.Insert(0,_L(", ")); |
390 unplayedShows.Insert(0,_L(", ")); |
390 } |
391 } |
391 |
392 |
392 iListboxFormatbuffer.Format(KFeedFormat(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); |
393 iListboxFormatbuffer.Format(KFeedFormat(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); |
393 } |
394 } |