[banshee] [grid] Don't show "Unknown Artist" for "All Albums"



commit 2529fdfcd13464f6528e6a55ed6bfc2e8179634a
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date:   Fri Mar 12 21:08:53 2010 +1100

    [grid] Don't show "Unknown Artist" for "All Albums"

 .../Banshee.Collection.Gui/DataViewChildAlbum.cs   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
index bcc4dee..4f1c60c 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
@@ -280,7 +280,7 @@ namespace Banshee.Collection.Gui
                 throw new InvalidCastException ("ColumnCellAlbum can only bind to AlbumInfo objects");
             }
 
-            lines = new [] { album.DisplayTitle, album.DisplayArtistName };
+            lines = new [] { album.DisplayTitle, ModelRowIndex == 0 ? "" : album.DisplayArtistName };
             image = artwork_manager != null
                 ? artwork_manager.LookupScaleSurface (album.ArtworkId, (int)ImageSize, true)
                 : null;



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