[f-spot] DevelopInUFRaw: Don't increment the version name.



commit e6b03488be863d7fca02161bdc3558d940b68e32
Author: Ruben Vermeersch <ruben savanne be>
Date:   Sun Jul 13 20:53:37 2008 +0300

    DevelopInUFRaw: Don't increment the version name.
    
    The same settings file is used for all versions, so it doesn't really
    make sense to add multiple developed copies.
---
 extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
index 508cf86..796a7f9 100644
--- a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
+++ b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
@@ -155,16 +155,7 @@ namespace DevelopInUFRawExtension
 
 		private static string GetVersionName (Photo p)
 		{
-			return GetVersionName (p, 1);
-		}
-
-		private static string GetVersionName (Photo p, int i)
-		{
-			string name = Catalog.GetPluralString ("Developed in UFRaw", "Developed in UFRaw ({0})", i);
-			name = String.Format (name, i);
-			if (p.VersionNameExists (name))
-				return GetVersionName (p, i + 1);
-			return name;
+			return Catalog.GetString ("Developed in UFRaw");
 		}
 
 		private System.Uri GetUriForVersionName (Photo p, string version_name)



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