[banshee] [PlatformDetection] detect MeeGo



commit 8c90d6a6c1628854434db8956806c00c5f7d448a
Author: Aaron Bockover <abockover novell com>
Date:   Sun Mar 21 20:17:05 2010 -0400

    [PlatformDetection] detect MeeGo

 src/Libraries/Hyena/Hyena/PlatformDetection.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Libraries/Hyena/Hyena/PlatformDetection.cs b/src/Libraries/Hyena/Hyena/PlatformDetection.cs
index 303ce79..0b15ffa 100644
--- a/src/Libraries/Hyena/Hyena/PlatformDetection.cs
+++ b/src/Libraries/Hyena/Hyena/PlatformDetection.cs
@@ -37,7 +37,7 @@ namespace Hyena
         public static readonly bool IsWindows;
         public static readonly bool IsLinux;
         public static readonly bool IsUnix;
-        public static readonly bool IsMoblin;
+        public static readonly bool IsMeeGo;
 
         public static readonly string PosixSystemName;
         public static readonly string SystemName;
@@ -90,7 +90,7 @@ namespace Hyena
 
             SystemName = PosixSystemName;
 
-            // FIXME: probe the root X11 window for Moblin properties
+            IsMeeGo = System.IO.File.Exists ("/etc/meego-release") || !String.IsNullOrEmpty ("MEEGO");
         }
     }
 }



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