[banshee/gtk3] YouTubePane: Update to the new GTK theming API



commit c3845a9aee052d1df2ced68959efa7b14a0432aa
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Jul 21 22:12:56 2011 +0200

    YouTubePane: Update to the new GTK theming API

 .../Banshee.YouTube/Banshee.YouTube/YouTubePane.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.YouTube/Banshee.YouTube/YouTubePane.cs b/src/Extensions/Banshee.YouTube/Banshee.YouTube/YouTubePane.cs
index cb8275a..af78cdf 100644
--- a/src/Extensions/Banshee.YouTube/Banshee.YouTube/YouTubePane.cs
+++ b/src/Extensions/Banshee.YouTube/Banshee.YouTube/YouTubePane.cs
@@ -146,10 +146,10 @@ namespace Banshee.YouTube
             ShowAll ();
         }
 
-        protected override void OnStyleSet (Style previous_style)
+        protected override void OnStyleUpdated ()
         {
-            base.OnStyleSet (previous_style);
-            results_tv.ModifyBg (StateType.Normal, Style.Base (StateType.Normal));
+            base.OnStyleUpdated ();
+            results_tv.OverrideBackgroundColor (StateFlags.Normal, StyleContext.GetColor (StateFlags.Normal));
         }
 
         private class RefreshVideosJob : SimpleAsyncJob



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