f-spot r3592 - in trunk: . src



Author: sdelcroix
Date: Wed Jan 23 11:49:33 2008
New Revision: 3592
URL: http://svn.gnome.org/viewvc/f-spot?rev=3592&view=rev

Log:
2008-01-23  Stephane Delcroix  <sdelcroix novell com>

	* src/main.cs: disable the File.Exists check on --view mode to re-allow
	uri opening from nautilus


Modified:
   trunk/ChangeLog
   trunk/src/main.cs

Modified: trunk/src/main.cs
==============================================================================
--- trunk/src/main.cs	(original)
+++ trunk/src/main.cs	Wed Jan 23 11:49:33 2008
@@ -92,10 +92,10 @@
 					Console.WriteLine ("f-spot: -view option takes one argument");
 					return 1;
 				}
-				if (!System.IO.Directory.Exists (args[i+1]) && !System.IO.File.Exists (args[i+1])) {
-					Console.WriteLine ("f-spot: -view argument must be an existing file or directory");
-					return 1;
-				}
+//				if (!System.IO.Directory.Exists (args[i+1]) && !System.IO.File.Exists (args[i+1])) {
+//					Console.WriteLine ("f-spot: -view argument must be an existing file or directory");
+//					return 1;
+//				}
 				view = true;
 				uris.Add (args [++i]);
 				break;



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