[banshee] Fix album browser's border (bgo#644315)



commit e773421450bcf04f5c3c3ac2e85a0785169a96d0
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Mar 9 09:08:09 2011 -0600

    Fix album browser's border (bgo#644315)
    
    On Windows, the opacity of the second line of text (the artist) being set
    to != 1.0 was causing the border to not get drawn around the entire album grid.
    
    This is caused by the cr.Push/PopGroup calls, though I'm not sure why; likely
    just an issue with our currently bundled cairo binary.

 .../Banshee.Collection.Gui/DataViewChildAlbum.cs   |    3 ++-
 1 files changed, 2 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 afb1e4c..ab70485 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
@@ -66,7 +66,8 @@ namespace Banshee.Collection.Gui
                     Binder = new Hyena.Data.ObjectBinder () { Property = "DisplayArtistName" },
                     UseMarkup = true,
                     TextFormat = "<small>{0}</small>",
-                    Opacity = 0.6
+                    // FIXME Windows: non-1.0 opacity causes view's border to be drawn over; bgo#644315
+                    Opacity = Hyena.PlatformDetection.IsWindows ? 1.0 : 0.6
                 }
             );
 



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