[banshee/grid: 9/12] [grid] fix small comparison bug on ColumnCellAlbum



commit c8c361e31a4bd476470bd0f9064be69479311e78
Author: Aaron Bockover <abockover novell com>
Date:   Thu Jan 21 19:00:38 2010 -0500

    [grid] fix small comparison bug on ColumnCellAlbum

 .../Banshee.Collection.Gui/ColumnCellAlbum.cs      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
index a09c2de..f2fd347 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
@@ -105,7 +105,7 @@ namespace Banshee.Collection.Gui
             RenderImageSurface (context, new Rectangle (x, y, width, height), image_surface);
 
             // Render the overlay
-            if (IsGridLayout && hover_object != null) {
+            if (IsGridLayout && hover_object == BoundObject) {
                 var cr = context.Context;
                 var grad = new RadialGradient (5, 5, (width + height) / 2.0, 5, 5, 0);
                 grad.AddColorStop (0, new Color (0, 0, 0, 0.65));



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