banshee r3623 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.IO



Author: gburt
Date: Mon Mar 31 21:14:08 2008
New Revision: 3623
URL: http://svn.gnome.org/viewvc/banshee?rev=3623&view=rev

Log:
2008-03-31  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Core/Banshee.IO/Utilities.cs: Uncomment
	DeleteFileTrimmingParentDirectories method, fixes BGO #524914.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Core/Banshee.IO/Utilities.cs

Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.IO/Utilities.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.IO/Utilities.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.IO/Utilities.cs	Mon Mar 31 21:14:08 2008
@@ -34,18 +34,18 @@
 {
     public static class Utilities
     {
-        public static void DeleteFileTrimmingParentDirectories(SafeUri uri)
+        public static void DeleteFileTrimmingParentDirectories (SafeUri uri)
         {
-            /*Banshee.IO.IOProxy.File.Delete(uri);
+            Banshee.IO.File.Delete (uri);
             
             try {
-                string old_dir = System.IO.Path.GetDirectoryName(uri.LocalPath);
-                while(old_dir != null && old_dir != String.Empty) {
-                    Banshee.IO.IOProxy.Directory.Delete(old_dir);
-                    old_dir = System.IO.Path.GetDirectoryName(old_dir);
+                string old_dir = System.IO.Path.GetDirectoryName (uri.LocalPath);
+                while (old_dir != null && old_dir != String.Empty) {
+                    Banshee.IO.Directory.Delete (old_dir);
+                    old_dir = System.IO.Path.GetDirectoryName (old_dir);
                 }
             } catch {
-            }*/
+            }
         }
     }
 }



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