[nemo] Fix opening files not working with newer versions of Gnome



commit 07f4ab6618a1dece7877212271425fe886703df8
Author: Anders Rune Jensen <anders iola dk>
Date:   Fri May 29 00:27:41 2009 +0200

    Fix opening files not working with newer versions of Gnome
---
 uicommon/Item.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/uicommon/Item.cs b/uicommon/Item.cs
index 456fcdb..1e9e624 100644
--- a/uicommon/Item.cs
+++ b/uicommon/Item.cs
@@ -116,11 +116,11 @@ namespace Nemo
 		
 		public void open()
 		{
-            Process.Start("'" + path + "'");
+		  Process.Start("gnome-open '" + path + "'");
 		}
 
-	    public VoidFunction<bool> small_starred_update_function;
-   	    VoidFunction<bool> big_starred_update_function;
+	        public VoidFunction<bool> small_starred_update_function;
+   	        VoidFunction<bool> big_starred_update_function;
 
 		public void register_small_starred_change(VoidFunction<bool> update_function)
 		{
@@ -202,4 +202,4 @@ namespace Nemo
 			return String.Format("{0:HH:mm:ss} {0:dd/MM/yy}", date); // {0:HH:mm:ss} 
         }
 	}
-}
\ No newline at end of file
+}



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