banshee r3087 - trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui



Author: abock
Date: Tue Jan 29 23:06:56 2008
New Revision: 3087
URL: http://svn.gnome.org/viewvc/banshee?rev=3087&view=rev

Log:
Make the highlight nicer

Modified:
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs	Tue Jan 29 23:06:56 2008
@@ -88,10 +88,9 @@
             }
             
             if(path != null && path.Equals (view.HighlightedPath) && !view.Selection.PathIsSelected (path)) {
-                drawable.DrawRectangle (widget.Style.BackgroundGC (StateType.Normal), true, background_area);
                 drawable.DrawRectangle (widget.Style.BackgroundGC (StateType.Selected), false,
-                    new Gdk.Rectangle (background_area.X, background_area.Y, 
-                        background_area.Width -1, background_area.Height - 1));
+                    new Gdk.Rectangle (background_area.X + 1, background_area.Y + 1, 
+                        background_area.Width - 3, background_area.Height - 4));
             }
             
             bool hideCounts = source.Count <= 0;



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