[banshee] [Podcasting] Set episode tracks as not editable



commit 8170add33f0777b8cef42a0e7b54a60fcd8fa126
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Oct 26 17:48:55 2010 -0500

    [Podcasting] Set episode tracks as not editable

 .../Banshee.Podcasting.Data/PodcastSource.cs       |    8 +++++++-
 1 files changed, 7 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 f6f2729..b3f029a 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Data/PodcastSource.cs
@@ -303,6 +303,10 @@ namespace Banshee.Podcasting.Gui
             get { return false; }
         }
 
+        public override bool HasEditableTrackProperties {
+            get { return false; }
+        }
+
         public override string GetPluralItemCountString (int count)
         {
             return Catalog.GetPluralString ("{0} episode", "{0} episodes", count);
@@ -313,9 +317,11 @@ namespace Banshee.Podcasting.Gui
             return false;
         }
 
+        public PodcastTrackListModel PodcastTrackModel { get; private set; }
+
         protected override DatabaseTrackListModel CreateTrackModelFor (DatabaseSource src)
         {
-            return new PodcastTrackListModel (ServiceManager.DbConnection, DatabaseTrackInfo.Provider, src);
+            return PodcastTrackModel = new PodcastTrackListModel (ServiceManager.DbConnection, DatabaseTrackInfo.Provider, src);
         }
 
         protected override IEnumerable<IFilterListModel> CreateFiltersFor (DatabaseSource src)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]