f-spot r3736 - trunk/src



Author: sdelcroix
Date: Thu Mar  6 10:52:06 2008
New Revision: 3736
URL: http://svn.gnome.org/viewvc/f-spot?rev=3736&view=rev

Log:
trying to fix bgo#517234 for the third time

Modified:
   trunk/src/PhotoStore.cs

Modified: trunk/src/PhotoStore.cs
==============================================================================
--- trunk/src/PhotoStore.cs	(original)
+++ trunk/src/PhotoStore.cs	Thu Mar  6 10:52:06 2008
@@ -173,7 +173,7 @@
 				"INSERT INTO photos (time, uri, description, roll_id, default_version_id, rating) "	+
 	 			"VALUES (:time, :uri, :description, :roll_id, :default_version_id, :rating)",
 	 			"time", unix_time,
-				"uri", new_uri.ToString (),
+				"uri", new_uri.OriginalString,
 	 			"description", description,
 				"roll_id", roll_id,
 	 			"default_version_id", Photo.OriginalVersionId,
@@ -434,7 +434,7 @@
 			"description", photo.Description,
 			"default_version_id", photo.DefaultVersionId,
 			"time", DbUtils.UnixTimeFromDateTime (photo.Time),
-			"uri", photo.VersionUri (Photo.OriginalVersionId).ToString (),
+			"uri", photo.VersionUri (Photo.OriginalVersionId).OriginalString,
 			"rating", String.Format ("{0}", photo.Rating),
 			"id", photo.Id));
 



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