[banshee] [SearchEntry] properly render the entry background



commit 5255fecd239a2565fcab4d00d0ba655d21ea4786
Author: Aaron Bockover <abockover novell com>
Date:   Mon Mar 29 13:44:10 2010 -0400

    [SearchEntry] properly render the entry background

 .../Banshee.Widgets/Banshee.Widgets/SearchEntry.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs b/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
index 2399088..70eebb4 100644
--- a/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
+++ b/src/Core/Banshee.Widgets/Banshee.Widgets/SearchEntry.cs
@@ -202,7 +202,6 @@ namespace Banshee.Widgets
             Gdk.Color color = entry.Style.Base (entry.State);
             filter_button.ModifyBg (entry.State, color);
             clear_button.ModifyBg (entry.State, color);
-            ModifyBg (entry.State, color);
 
             box.BorderWidth = (uint)entry.Style.XThickness;
         }
@@ -253,6 +252,8 @@ namespace Banshee.Widgets
 
         protected override bool OnExposeEvent(Gdk.EventExpose evnt)
         {
+            Style.PaintFlatBox (entry.Style, GdkWindow, State, ShadowType.None, evnt.Area, this,
+                "entry_bg", 0, 0, Allocation.Width, Allocation.Height);
             PropagateExpose(Child, evnt);
             Style.PaintShadow(entry.Style, GdkWindow, StateType.Normal,
                 ShadowType.In, evnt.Area, entry, "entry",



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