banshee r3104 - in trunk/banshee: .	src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: abock svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: banshee r3104 - in trunk/banshee: .	src/Core/Banshee.ThickClient/Banshee.Sources.Gui
 
- Date: Wed, 30 Jan 2008 22:21:54 +0000 (GMT)
 
Author: abock
Date: Wed Jan 30 22:21:54 2008
New Revision: 3104
URL: http://svn.gnome.org/viewvc/banshee?rev=3104&view=rev
Log:
2008-01-30  Aaron Bockover  <abock gnome org>
    * src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs:
    Stupid cast to work around possible bug in gmcs 1.2.5
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs	Wed Jan 30 22:21:54 2008
@@ -133,7 +133,9 @@
             Pango.Layout countLayout = new Pango.Layout(widget.PangoContext);
             
             FontDescription fd = widget.PangoContext.FontDescription.Copy();
-            fd.Weight = ServiceManager.PlaybackController.Source == source ? Pango.Weight.Bold : Pango.Weight.Normal;
+            fd.Weight = (ISource)ServiceManager.PlaybackController.Source == (ISource)source 
+                ? Pango.Weight.Bold 
+                : Pango.Weight.Normal;
             
             if(Italicized) {
                 fd.Style = Pango.Style.Italic;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]