[banshee] [Audiobook] more tweaks



commit 3c6ec0734c68b32911d47e43112a71338df33331
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sun Dec 20 14:16:04 2009 -0800

    [Audiobook] more tweaks

 .../Banshee.Audiobook/AudiobookLibrarySource.cs    |    2 +-
 .../Banshee.Audiobook/AudiobookModel.cs            |    8 ++------
 2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
index 5a08183..9714df9 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookLibrarySource.cs
@@ -101,7 +101,7 @@ namespace Banshee.Audiobook
         }
 
         public override int Count {
-            get { return books_model.UnfilteredCount; }
+            get { return 0; }
         }
 
         public override int FilteredCount {
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookModel.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookModel.cs
index f4163a0..2c8cc57 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookModel.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookModel.cs
@@ -47,13 +47,9 @@ namespace Banshee.Audiobook
     {
         public AudiobookModel (DatabaseSource source, DatabaseTrackListModel trackModel, BansheeDbConnection connection, string uuid) : base (source, trackModel, connection, uuid)
         {
-            CalculateUnfilteredCount = true;
+            selection = new Hyena.Collections.Selection ();
+            //CalculateUnfilteredCount = true;
             HasSelectAllItem = false;
         }
-
-        public override void UpdateSelectAllItem (long count)
-        {
-            select_all_item.Title = String.Format (Catalog.GetString ("All Works ({0})"), count);
-        }
     }
 }



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