f-spot r4391 - trunk/src



Author: rubenv
Date: Wed Sep 17 11:14:05 2008
New Revision: 4391
URL: http://svn.gnome.org/viewvc/f-spot?rev=4391&view=rev

Log:
Fix another warning.

Modified:
   trunk/src/MainWindow.cs

Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs	(original)
+++ trunk/src/MainWindow.cs	Wed Sep 17 11:14:05 2008
@@ -1098,8 +1098,8 @@
 			
 			db.BeginTransaction ();
 			List<Photo> photos = new List<Photo> ();
-			foreach (string photo_path in list.ToLocalPaths ()) {
-				Photo photo = db.Photos.GetByPath (photo_path);
+			foreach (Uri photo_uri in list) {
+				Photo photo = db.Photos.GetByUri (photo_uri);
 				
 				// FIXME - at this point we should import the photo, and then continue
 				if (photo == null)



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