banshee r3973 - in trunk/banshee: . src/Libraries/Migo/Migo.Syndication



Author: gburt
Date: Fri May 23 04:02:58 2008
New Revision: 3973
URL: http://svn.gnome.org/viewvc/banshee?rev=3973&view=rev

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

	* src/Libraries/Migo/Migo.Syndication/FeedItem.cs: Fix issue with feed
	item Guids being empty so we'd have duplicates of items.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedItem.cs

Modified: trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedItem.cs
==============================================================================
--- trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedItem.cs	(original)
+++ trunk/banshee/src/Libraries/Migo/Migo.Syndication/FeedItem.cs	Fri May 23 04:02:58 2008
@@ -121,7 +121,7 @@
         
         [DatabaseColumn("Guid", Index = "PodcastItemsGuidIndex")]
         public string Guid {
-            get { return guid; }
+            get { return String.IsNullOrEmpty (guid) ? Link : guid; }
             set { guid = value; }
         }
 



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