banshee r4032 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Sources



Author: gburt
Date: Fri May 30 03:11:42 2008
New Revision: 4032
URL: http://svn.gnome.org/viewvc/banshee?rev=4032&view=rev

Log:
2008-05-29  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs: Don't throw
	an exception when CopyTo isn't implemented, but log a warning.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs

Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs	Fri May 30 03:11:42 2008
@@ -249,7 +249,7 @@
 
         public virtual void CopyTrackTo (DatabaseTrackInfo track, SafeUri uri, BatchUserJob job)
         {
-            throw new Exception (String.Format ("CopyToTrack not implemented for source {0}", Name));
+            Log.WarningFormat ("CopyToTrack not implemented for source {0}", this);
         }
 
         internal void NotifyTracksAdded ()



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