f-spot r3711 - in trunk: . src/Core src/Imaging
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3711 - in trunk: . src/Core src/Imaging
- Date: Wed, 27 Feb 2008 13:57:33 +0000 (GMT)
Author: sdelcroix
Date: Wed Feb 27 13:57:33 2008
New Revision: 3711
URL: http://svn.gnome.org/viewvc/f-spot?rev=3711&view=rev
Log:
2008-02-27 Stephane Delcroix <sdelcroix novell com>
* src/Core/Photo.cs: Escape the version name.
* src/Imaging/ImageFile.cs: Obsolete 2 methods.
Modified:
trunk/ChangeLog
trunk/src/Core/Photo.cs
trunk/src/Imaging/ImageFile.cs
Modified: trunk/src/Core/Photo.cs
==============================================================================
--- trunk/src/Core/Photo.cs (original)
+++ trunk/src/Core/Photo.cs Wed Feb 27 13:57:33 2008
@@ -243,7 +243,7 @@
string name_without_extension = System.IO.Path.GetFileNameWithoutExtension (Name);
return new System.Uri (System.IO.Path.Combine (DirectoryPath, name_without_extension
- + " (" + version_name + ")" + extension));
+ + " (" + UriUtils.EscapeString (version_name, false, true, true) + ")" + extension));
}
public bool VersionNameExists (string version_name)
Modified: trunk/src/Imaging/ImageFile.cs
==============================================================================
--- trunk/src/Imaging/ImageFile.cs (original)
+++ trunk/src/Imaging/ImageFile.cs Wed Feb 27 13:57:33 2008
@@ -151,6 +151,7 @@
}
}
+ [Obsolete ("use HasLoader (System.Uri) instead")]
public static bool HasLoader (string path)
{
return HasLoader (UriUtils.PathToFileUri (path));
@@ -165,6 +166,7 @@
return (t != null);
}
+ [Obsolete ("use Create (System.Uri) instead")]
public static ImageFile Create (string path)
{
return Create (UriUtils.PathToFileUri (path));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]