banshee r5207 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Widgets



Author: alexk
Date: Wed Apr 15 22:49:49 2009
New Revision: 5207
URL: http://svn.gnome.org/viewvc/banshee?rev=5207&view=rev

Log:
2009-04-15  Alexander Kojevnikov  <alexander kojevnikov com>

	* src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs: Fixed the
	RatingEntry colors on dark themes (BGO #576459)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RatingEntry.cs	Wed Apr 15 22:49:49 2009
@@ -256,7 +256,7 @@
             
             Cairo.Context cr = Gdk.CairoHelper.Create (GdkWindow);
             renderer.Render (cr, Allocation, 
-                CairoExtensions.GdkColorToCairoColor (HasFrame ? Style.Text (State) : Style.Foreground (State)), 
+                CairoExtensions.GdkColorToCairoColor (HasFrame ? Parent.Style.Text (State) : Parent.Style.Foreground (State)),
                 AlwaysShowEmptyStars, PreviewOnHover && hover_value >= renderer.MinRating, hover_value,
                 State == StateType.Insensitive ? 1 : 0.90, 
                 State == StateType.Insensitive ? 1 : 0.55,



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