[banshee] [Podcasts] Fix bug with podcasts browser filtering
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [Podcasts] Fix bug with podcasts browser filtering
- Date: Fri, 27 Nov 2009 22:07:34 +0000 (UTC)
commit d6c6db61fc96931e634846dc419193a5b0328b99
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri Nov 27 14:01:36 2009 -0800
[Podcasts] Fix bug with podcasts browser filtering
Previously, all podcasts that matched the search (if any) were shown in
the podcast browser, regardless of whether they had episodes shown due
to the unheard/downlaoded filters. Now if you have 'New Items'
selected, only podcasts that have new items will show.
.../Banshee.Podcasting.Data/PodcastSource.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs
index 22a5e50..8d754e6 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs
@@ -193,9 +193,9 @@ namespace Banshee.Podcasting.Gui
protected override IEnumerable<IFilterListModel> CreateFiltersFor (DatabaseSource src)
{
PodcastFeedModel feed_model;
- yield return feed_model = new PodcastFeedModel (src, src.DatabaseTrackModel, ServiceManager.DbConnection, String.Format ("PodcastFeeds-{0}", src.UniqueId));
yield return new PodcastUnheardFilterModel (src.DatabaseTrackModel);
yield return new DownloadStatusFilterModel (src.DatabaseTrackModel);
+ yield return feed_model = new PodcastFeedModel (src, src.DatabaseTrackModel, ServiceManager.DbConnection, String.Format ("PodcastFeeds-{0}", src.UniqueId));
if (src == this) {
this.feed_model = feed_model;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]