banshee r3615 - in trunk/banshee: . src/Core/Banshee.Widgets/Banshee.Widgets src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio



Author: gburt
Date: Mon Mar 31 18:19:32 2008
New Revision: 3615
URL: http://svn.gnome.org/viewvc/banshee?rev=3615&view=rev

Log:
2008-03-31  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs:
	* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs:
	Fix up some style issues on the last.fm data screen.  Still have white
	fonts on darkilouche when should be black.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs
   trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs

Modified: trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Widgets/Banshee.Widgets/TileView.cs	Mon Mar 31 18:19:32 2008
@@ -53,8 +53,6 @@
             Add(table);
 
             Show ();
-
-            ModifyBg (StateType.Normal, Style.Base (StateType.Normal));
         }
         
         public void AddWidget(Widget widget)

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSourceContents.cs	Mon Mar 31 18:19:32 2008
@@ -56,7 +56,10 @@
 
             viewport.Add (main_box);
             
-            StyleSet += delegate { viewport.ModifyBg (StateType.Normal, Style.Base (StateType.Normal)); };
+            StyleSet += delegate {
+                viewport.ModifyBg (StateType.Normal, Style.Base (StateType.Normal));
+                viewport.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
+            };
 
             AddWithFrame (viewport);
             ShowAll ();
@@ -162,6 +165,11 @@
 
                 PackStart (title, false, false, 0);
                 title.Show ();
+
+                StyleSet += delegate {
+                    title.ModifyBg (StateType.Normal, Style.Base (StateType.Normal));
+                    title.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
+                };
             }
         }
 
@@ -200,6 +208,11 @@
                 tile_view = new NumberedTileView (1);
                 PackStart (tile_view, true, true, 0);
                 tile_view.Show ();
+
+                StyleSet += delegate {
+                    tile_view.ModifyBg (StateType.Normal, Style.Base (StateType.Normal));
+                    tile_view.ModifyFg (StateType.Normal, Style.Text (StateType.Normal));
+                };
             }
 
             // TODO generalize this



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