[banshee] [MeeGoTheme] draw bottom border of SourceView



commit 7adc9e699f89309d52db3378610093772030bd42
Author: Aaron Bockover <abockover novell com>
Date:   Mon May 3 23:06:15 2010 -0400

    [MeeGoTheme] draw bottom border of SourceView
    
    If the SourceView is not flush against the bottom of the window, then
    draw a bottom border line (e.g. when importing, a status widget pops up
    below the source view).

 .../Banshee.MeeGo/Banshee.MeeGo/MeeGoTheme.cs      |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoTheme.cs b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoTheme.cs
index 1402b5e..f31fc05 100644
--- a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoTheme.cs
+++ b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoTheme.cs
@@ -96,6 +96,12 @@ namespace Banshee.MeeGo
             cr.LineTo (alloc.Right - 1, alloc.Bottom);
             cr.Stroke ();
 
+            if (Widget.Allocation.Bottom < Widget.Toplevel.Allocation.Height) {
+                cr.MoveTo (alloc.Left, alloc.Bottom - 1);
+                cr.LineTo (alloc.Right, alloc.Bottom - 1);
+                cr.Stroke ();
+            }
+
             cr.Antialias = Cairo.Antialias.Default;
         }
 



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