[banshee] Show full file path in the ErrorSource
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Show full file path in the ErrorSource
- Date: Mon, 18 May 2009 20:11:58 -0400 (EDT)
commit a787db248bf7d4aa330bf6854147a6dd56eb2b28
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Tue May 19 10:10:17 2009 +1000
Show full file path in the ErrorSource
Partially fixes bgo#361168
---
.../DatabaseImportManager.cs | 2 +-
.../Banshee.Library/ThreadPoolImportSource.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
index a27af7f..d36b28b 100644
--- a/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseImportManager.cs
@@ -212,7 +212,7 @@ namespace Banshee.Collection.Database
private void LogError (string path, string msg)
{
- ErrorSource.AddMessage (Path.GetFileName (path), msg);
+ ErrorSource.AddMessage (path, msg);
Log.Error (path, msg, false);
}
diff --git a/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs b/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs
index e6e6e1d..bc085f1 100644
--- a/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs
+++ b/src/Core/Banshee.Services/Banshee.Library/ThreadPoolImportSource.cs
@@ -93,7 +93,7 @@ namespace Banshee.Library
{
Banshee.Base.ThreadAssist.ProxyToMain (delegate {
ErrorSource error_source = ServiceManager.SourceManager.MusicLibrary.ErrorSource;
- error_source.AddMessage (Path.GetFileName (path), msg);
+ error_source.AddMessage (path, msg);
Log.Error (path, msg, false);
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]