banshee r5054 - in trunk/banshee: . src/Core/Banshee.Widgets/Banshee.Widgets src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations



Author: gburt
Date: Fri Feb 20 21:29:17 2009
New Revision: 5054
URL: http://svn.gnome.org/viewvc/banshee?rev=5054&view=rev

Log:
2009-02-20  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs:
	* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs:
	Patch from Chris Jones fixing theming issue (BGO #558656)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs
   trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs

Modified: trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/Tile.cs	Fri Feb 20 21:29:17 2009
@@ -71,8 +71,11 @@
             secondary_label.Xalign = 0.0f;
             secondary_label.Yalign = 0.0f;
             
-            secondary_label.ModifyFg(StateType.Normal, Hyena.Gui.GtkUtilities.ColorBlend(
-                Style.Foreground(StateType.Normal), Style.Background(StateType.Normal)));
+            StyleSet += delegate {
+                primary_label.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
+                secondary_label.ModifyFg (StateType.Normal, Hyena.Gui.GtkUtilities.ColorBlend (
+                    Style.Foreground (StateType.Normal), Style.Background (StateType.Normal)));
+            };
                 
             Relief = ReliefStyle.None;
         }

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Recommendations/RecommendationPane.cs	Fri Feb 20 21:29:17 2009
@@ -281,6 +281,7 @@
                     album_button.Relief = ReliefStyle.None;
         
                     Label label = new Label ();
+                    label.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
                     label.Ellipsize = Pango.EllipsizeMode.End;
                     label.Xalign = 0;
                     label.Markup = String.Format ("{0}. {1}", i+1, GLib.Markup.EscapeText (album.Name));
@@ -301,6 +302,7 @@
                     HBox box = new HBox ();
         
                     Label label = new Label ();
+                    label.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
                     label.Ellipsize = Pango.EllipsizeMode.End;
                     label.Xalign = 0;
                     label.Markup = String.Format ("{0}. {1}", i+1, GLib.Markup.EscapeText (track.Name));



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