[banshee/gtk3] DapInfoBar: Use new GTK theming API to get the color
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [banshee/gtk3] DapInfoBar: Use new GTK theming API to get the color
- Date: Thu, 21 Jul 2011 20:14:38 +0000 (UTC)
commit d3bf01f4a2d8781c54544029817c40e6e974e032
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Thu Jul 21 21:56:24 2011 +0200
    DapInfoBar: Use new GTK theming API to get the color
 src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs
index 7a62e3c..35adddc 100644
--- a/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs
+++ b/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapInfoBar.cs
@@ -120,7 +120,7 @@ namespace Banshee.Dap.Gui
 
         private void SetBackground ()
         {
-            Cairo.Color light = CairoExtensions.GdkColorToCairoColor (Style.Background (StateType.Normal));
+            Cairo.Color light = CairoExtensions.GdkRGBAToCairoColor (StyleContext.GetBackgroundColor (StateFlags.Normal));
             Cairo.Color dark = CairoExtensions.ColorShade (light, 0.85);
 
             Cairo.LinearGradient grad = new Cairo.LinearGradient (0, Allocation.Y, 0, Allocation.Y + Allocation.Height);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]