banshee r4839 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4839 - in trunk/banshee: . src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage
- Date: Wed, 12 Nov 2008 20:06:55 +0000 (UTC)
Author: gburt
Date: Wed Nov 12 20:06:54 2008
New Revision: 4839
URL: http://svn.gnome.org/viewvc/banshee?rev=4839&view=rev
Log:
2008-11-12 Gabriel Burt <gabriel burt gmail com>
* src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:
Patch from BenjamÃn Valero Espinosa fixing bug that prevented the last
tracks in a folder from being deleted (BGO #560550).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
Modified: trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs
==============================================================================
--- trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs (original)
+++ trunk/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs Wed Nov 12 20:06:54 2008
@@ -514,7 +514,7 @@
// If we are the last track, go ahead and delete the artwork
// to ensure that the directory tree can get trimmed away too
- if (files == 0) {
+ if (files == 0 && CoverArtFileName != null) {
System.IO.File.Delete (Paths.Combine (track_dir, CoverArtFileName));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]