[f-spot] Removed gnome-vfs from DevelopInUFRaw



commit eb56c5ac4e5ae24530de092d695efa3b3430acd2
Author: Lorenzo Milesi <maxxer yetopen it>
Date:   Sun Aug 9 00:45:06 2009 +0200

    Removed gnome-vfs from DevelopInUFRaw
    
    Part of bgo #590832.

 .../Tools/DevelopInUFraw/DevelopInUFRaw.addin.xml  |    2 +-
 extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs  |    8 ++++----
 extensions/Tools/DevelopInUFraw/Makefile.am        |    3 +--
 3 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.addin.xml b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.addin.xml
index 5b92515..ad6a7e0 100644
--- a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.addin.xml
+++ b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.addin.xml
@@ -1,6 +1,6 @@
 <Addin namespace="FSpot"
 	id="DevelopInUFraw"
-	version="0.6"
+	version="0.6.0.1"
 	name="DevelopInUFRaw"
 	description="Develop the image in UFRaw, saves the result as a new version\n\nNote: Require ufraw 0.13 or CVS version newer than 2007-09-06 !!!"
 	author="Stephane Delcroix"
diff --git a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
index 6090078..c215f5e 100644
--- a/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
+++ b/extensions/Tools/DevelopInUFraw/DevelopInUFRaw.cs
@@ -110,14 +110,14 @@ namespace DevelopInUFRawExtension
 			switch (executable) {
 				case "ufraw":
 					args += ufraw_args;
-					if (new Gnome.Vfs.Uri (Path.ChangeExtension (raw.Uri.ToString (), ".ufraw")).Exists) {
+					if (GLib.FileFactory.NewForUri (Path.ChangeExtension (raw.Uri.ToString (), ".ufraw")).Exists) {
 						// We found an ID file, use that instead of the raw file
 						idfile = "--conf=" + GLib.Shell.Quote (Path.ChangeExtension (raw.Uri.LocalPath, ".ufraw"));
 					}
 					break;
 				case "ufraw-batch":
 					args += ufraw_batch_args;
-					if (new Gnome.Vfs.Uri (Path.Combine (FSpot.Global.BaseDirectory, "batch.ufraw")).Exists) {
+					if (GLib.FileFactory.NewForUri (Path.Combine (FSpot.Global.BaseDirectory, "batch.ufraw")).Exists) {
 						// We found an ID file, use that instead of the raw file
 						idfile = "--conf=" + GLib.Shell.Quote (Path.Combine (FSpot.Global.BaseDirectory, "batch.ufraw"));
 					}
@@ -133,12 +133,12 @@ namespace DevelopInUFRawExtension
 
 			System.Diagnostics.Process ufraw = System.Diagnostics.Process.Start (executable, args);
 			ufraw.WaitForExit ();
-			if (!(new Gnome.Vfs.Uri (developed.ToString ())).Exists) {
+			if (!(GLib.FileFactory.NewForUri (developed.ToString ())).Exists) {
 				Log.Warning ("UFRaw quit with an error. Check that you have UFRaw 0.13 or newer. Or did you simply clicked on Cancel?");
 				return;
 			}
 
-			if (new Gnome.Vfs.Uri (Path.ChangeExtension (developed.ToString (), ".ufraw")).Exists) {
+			if (GLib.FileFactory.NewForUri (Path.ChangeExtension (developed.ToString (), ".ufraw")).Exists) {
 				// We save our own copy of the last ufraw settings, as ufraw can overwrite it's own last used settings outside f-spot
 				File.Delete (Path.Combine (FSpot.Global.BaseDirectory, "batch.ufraw"));
 				File.Copy (Path.ChangeExtension (developed.LocalPath, ".ufraw"), Path.Combine (FSpot.Global.BaseDirectory, "batch.ufraw"));
diff --git a/extensions/Tools/DevelopInUFraw/Makefile.am b/extensions/Tools/DevelopInUFraw/Makefile.am
index b1e4fdc..b04e742 100644
--- a/extensions/Tools/DevelopInUFraw/Makefile.am
+++ b/extensions/Tools/DevelopInUFraw/Makefile.am
@@ -18,11 +18,10 @@ REFS =					\
 	$(LINK_SEMWEB)				\
 	$(LINK_MONO_ADDINS)			\
 	$(LINK_GTKSHARPBEANS)			\
+	$(LINK_GIOSHARP)			\
 	$(LINK_GPHOTO2)
 
 PKGS =					\
-	-pkg:gnome-vfs-sharp-2.0	\
-	$(LINK_GIOSHARP)		\
 	-pkg:gtk-sharp-2.0
 
 RESOURCES =				\



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