~noskcaj/ubuntu/vivid/banshee-community-extensions/merge

« back to all changes in this revision

Viewing changes to src/LiveRadio/Banshee.LiveRadio/LiveRadioPlugins/LiveRadioBasePlugin.cs

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2012-04-09 22:56:37 UTC
  • mfrom: (4.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20120409225637-95tnzf6blgujwiff
Tags: 2.4.0-1ubuntu1
* [8075ffb] Merge from Debian Unstable (LP: #977236), remaining changes:
  + Enable AppIndicator extension

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
            List<DatabaseTrackInfo> result;
397
397
            try {
398
398
                if (request_type == LiveRadioRequestType.ByGenre) {
399
 
                    result = cached_results["Genre:" + query];
 
399
                    result = new List<DatabaseTrackInfo> (cached_results["Genre:" + query].ToArray ());
400
400
                } else {
401
 
                    result = cached_results[query];
 
401
                    result = new List<DatabaseTrackInfo> (cached_results[query].ToArray ());
402
402
                }
403
403
                foreach (DatabaseTrackInfo track in result)
404
404
                    result[result.IndexOf (track)] = new DatabaseTrackInfo (track);