banshee r4534 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Collection.Indexer src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations src/Libraries/Hyena/Hyena.Collections



Author: abock
Date: Fri Sep 12 04:55:10 2008
New Revision: 4534
URL: http://svn.gnome.org/viewvc/banshee?rev=4534&view=rev

Log:
2008-09-12  Aaron Bockover  <abock gnome org>

    * src/Core/Banshee.Services/Banshee.Collection.Indexer/CollectionIndexerService.cs:
    Remove unused variable

    * src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationService.cs:
    * src/Libraries/Hyena/Hyena.Collections/QueuePipelineElement.cs: Fixes to
    work around compiler bugs in gmcs 1.2.5



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Indexer/CollectionIndexerService.cs
   trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationService.cs
   trunk/banshee/src/Libraries/Hyena/Hyena.Collections/QueuePipelineElement.cs

Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Indexer/CollectionIndexerService.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Indexer/CollectionIndexerService.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Indexer/CollectionIndexerService.cs	Fri Sep 12 04:55:10 2008
@@ -119,7 +119,6 @@
         {
             lock (this) {
                 int total_count = 0;
-                long last_updated = 0;
                 
                 foreach (LibrarySource library in libraries) {
                     total_count += library.Count;

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationService.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationService.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationService.cs	Fri Sep 12 04:55:10 2008
@@ -110,7 +110,7 @@
 
         private void UpdateVisibility ()
         {
-            bool source_is_playback_source = (ServiceManager.SourceManager.ActiveSource == ServiceManager.PlaybackController.Source);
+            bool source_is_playback_source = (ServiceManager.SourceManager.ActiveSource as Banshee.Sources.ITrackModelSource) == ServiceManager.PlaybackController.Source;
             pane.ShowWhenReady = ShowSchema.Get () && source_is_playback_source;
             if (!source_is_playback_source) {
                 pane.HideWithTimeout ();

Modified: trunk/banshee/src/Libraries/Hyena/Hyena.Collections/QueuePipelineElement.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena/Hyena.Collections/QueuePipelineElement.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena/Hyena.Collections/QueuePipelineElement.cs	Fri Sep 12 04:55:10 2008
@@ -32,12 +32,12 @@
 
 namespace Hyena.Collections
 {
-    public abstract class QueuePipelineElement<T> where T : class
+    internal class ElementProcessCanceledException : ApplicationException
     {
-        private class ElementProcessCanceledException : ApplicationException
-        {
-        }
+    }
 
+    public abstract class QueuePipelineElement<T> where T : class
+    {
         #pragma warning disable 0067
         // FIXME: This is to mute gmcs: https://bugzilla.novell.com/show_bug.cgi?id=360455
         public event EventHandler Finished;



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