[banshee/stable-1.6] [SourceView] Only draw frame on MeeGo



commit 6b476e279949c860c6acf770e71407654a562ab1
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 8edbeb5..f62eca4 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs
@@ -250,8 +250,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]