f-spot r3734 - in trunk: . src/Core



Author: sdelcroix
Date: Wed Mar  5 12:24:34 2008
New Revision: 3734
URL: http://svn.gnome.org/viewvc/f-spot?rev=3734&view=rev

Log:
2008-03-03  Lorenzo Milesi <maxxer yetopen it>

	* src/Core/Photo.cs: one more uri escape. Bgo#520084.




Modified:
   trunk/ChangeLog
   trunk/src/Core/Photo.cs

Modified: trunk/src/Core/Photo.cs
==============================================================================
--- trunk/src/Core/Photo.cs	(original)
+++ trunk/src/Core/Photo.cs	Wed Mar  5 12:24:34 2008
@@ -242,8 +242,13 @@
 		{
 			string name_without_extension = System.IO.Path.GetFileNameWithoutExtension (Name);
 	
+#if MONO_2_0
 			return new System.Uri (System.IO.Path.Combine (DirectoryPath,  name_without_extension 
 						       + " (" + UriUtils.EscapeString (version_name, false, true, true) + ")" + extension));
+#else
+			return new System.Uri (System.IO.Path.Combine (DirectoryPath,  name_without_extension 
+						       + " (" + UriUtils.EscapeString (version_name, false, true, true) + ")" + extension), true);
+#endif
 		}
 	
 		public bool VersionNameExists (string version_name)



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