[MonoDevelop] C# source files mime-type with gnome 2.6

Todd Berman tberman at sevenl.net
Sun Mar 14 17:42:50 EET 2004


In addition to that mimetype, mimetypes are also needed for
.vb, .il, .aspx, .ashx, .ascx, and .asmx.

the first two should most likely be text/x-vbsrc, and text/x-ilsrc
however the others would make more sense as application/x-aspx, etc.

--Todd

On Thu, 2004-02-26 at 12:09, Alexander Larsson wrote:
> On Thu, 2004-02-26 at 13:56, Jeroen Zwartepoorte wrote:
> > Hi,
> > 
> > I've already filed a bug against shared-mime-info at freedesktop.org
> > about this. GNOME 2.4 defines a mime-type of "text/x-csharp" for .cs
> > files. This is in line with the mime-types for .java files (text/x-
> > java).
> > 
> > The mime-type used for C# files in gnome-icon-theme is text/x-csharpsrc,
> > but since a .cs is always a source file (and there are no other source
> > files), this seems wrong (also filed a bug for that).
> 
> I have previously sent a patch for shared-mime-info like this:
> 
> --- freedesktop.org.xml.in      22 Feb 2004 17:52:18 -0000      1.9
> +++ freedesktop.org.xml.in      26 Feb 2004 17:08:26 -0000
> @@ -2085,6 +2085,10 @@ command to generate the output files.
>      <_comment>C source code</_comment>
>      <glob pattern="*.c"/>
>    </mime-type>
> +  <mime-type type="text/x-csharpsrc">
> +    <_comment>C# sources</_comment>
> +    <glob pattern="*.cs"/>
> +  </mime-type>
>    <mime-type type="text/x-dcl">
>      <_comment>DCL script</_comment>
>      <glob pattern="*.dcl"/>
> 
> However, it doesn't seem to have been applied
> 
> This matches the other mime types for sources such as text/x-adasrc,
> text/x-csrc and text/x-c++src.
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl at redhat.com    alla at lysator.liu.se 
> He's an ungodly misogynist messiah with no name. She's a pregnant 
> antique-collecting Valkyrie living homeless in New York's sewers. They fight 
> crime! 
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list





More information about the xdg mailing list