Summary: | lacking text/x-csharp mimetype | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Jeroen Zwartepoorte <jeroen> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | alexl |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jeroen Zwartepoorte
2004-02-26 00:03:24 UTC
Hmm, Alex Larsson added the imo incorrect mimetype "text/x-csharpsrc" to shared-mime-info. I believe this is incorrect because there aren't any C# "header" files. The mimetype of C files is text/x-csrc and text/x-chdr (same for C++) because they are different files. C#, like Java only has source files, no header files. So i believe the mimetype for C# should be text/x-csharp (like Java's mimetype is text/x-java). Can this be fixed please before 2.6.0 is rolled out? I picked this purely to be simlar to existing mimetypes. There are no headers for ada either, and still we have text/x-adasrc. However, we also have text/x-pascal and text/x-java, so it seems we're not very consistant. I'm fine with any of these. So what do you propose? Leaving the mimetype as it is? Or to "fix" it now and be consistent? (i vote for the latter) If we only change the csharp mimetype now there is no way to be consistent with the other mimetypes (see e.g. java vs ada), and i don't think we can change the older mimetypes (that could break apps). We just have to pick a version for csharp. I don't care which one. Let's pick text/x-csharp then. gtksourceview for gnome 2.6 already uses this mimetype. Ok, i changed this. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.