[banshee] [SourceView] Only draw frame on MeeGo



commit e9c11e50e95f8fe32840c9ed8749c2f5a0fdb507
Author: Aaron Bockover <abockover novell com>
Date:   Sun May 2 17:08:01 2010 -0400

    [SourceView] Only draw frame on MeeGo

 .../Banshee.Sources.Gui/SourceView.cs              |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
index 6b1fd5c..9fc68c5 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
@@ -256,8 +256,10 @@ namespace Banshee.Sources.Gui
             try {
                 cr = Gdk.CairoHelper.Create (evnt.Window);
                 base.OnExposeEvent (evnt);
-                theme.DrawFrameBorder (cr, new Gdk.Rectangle (0, 0,
-                    Allocation.Width, Allocation.Height));
+                if (Hyena.PlatformDetection.IsMeeGo) {
+                    theme.DrawFrameBorder (cr, new Gdk.Rectangle (0, 0,
+                        Allocation.Width, Allocation.Height));
+                }
                 return true;
             } finally {
                 CairoExtensions.DisposeContext (cr);



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