[banshee/stable-1.6] [MeeGoTheme] draw bottom border of SourceView
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/stable-1.6] [MeeGoTheme] draw bottom border of SourceView
- Date: Tue, 4 May 2010 03:14:02 +0000 (UTC)
commit e6c766caa2be08cc61f529163d83913cbed02eea
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]