Author: gnorton
Date: 2007-12-07 21:46:21 -0500 (Fri, 07 Dec 2007)
New Revision: 90985

Modified:
   trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog
   
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/PlatformService.cs
Log:
2007-12-07  Geoff Norton  <[EMAIL PROTECTED]>

        * MonoDevelop.Core/PlatformService.cs: Add fallback mime-type support
        for ChangeLogs.


Modified: trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog  2007-12-08 
01:54:36 UTC (rev 90984)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Core/ChangeLog  2007-12-08 
02:46:21 UTC (rev 90985)
@@ -1,3 +1,8 @@
+2007-12-07  Geoff Norton  <[EMAIL PROTECTED]>
+
+       * MonoDevelop.Core/PlatformService.cs: Add fallback mime-type support
+       for ChangeLogs.
+
 2007-12-06  Geoff Norton  <[EMAIL PROTECTED]>
 
        * MonoDevelop.Core/PlatformService.cs: New service to hand off the

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/PlatformService.cs
===================================================================
--- 
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/PlatformService.cs
        2007-12-08 01:54:36 UTC (rev 90984)
+++ 
trunk/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/PlatformService.cs
        2007-12-08 02:46:21 UTC (rev 90985)
@@ -52,6 +52,10 @@
                                case ".cs":
                                        return "text/x-csharp";
                        }
+                       switch (file.Name.ToLower ()) {
+                               case "changelog":
+                                       return "text/x-changelog";
+                       }
                        return "text/plain";
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to