After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315016 - GNUmakefile not detected as "text/x-makefile"
GNUmakefile not detected as "text/x-makefile"
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: File and Folder Operations
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-01 11:50 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2005-09-01 18:25 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Mathias Hasselmann (IRC: tbf) 2005-09-01 11:50:32 UTC
1) Create a file called "Makefile" containing the line "all:".
2) Verify the icon Nautilus displays - should be the icon for "text/x-makefile"
3) Rename the file into "GNUmakefile".

You'd expect the file to keep its icon, but in fact it changes to "text/plain".

Yes, I know: Some downstream library made the mistake. Hope you reasign the Bug
to the right guy.
Comment 1 Christian Neumair 2005-09-01 18:25:24 UTC
Thanks for your bug report!
I've filed a bug report [1] against the freedesktop.org MIME database, which we
use to collect MIME information. For now, you can fix the issue by adding a
<glob pattern="GNUmakefile"/> tag below <mime-type type="text/x-makefile"> in
/usr/share/mime/packages/freedesktop.org.xml and afterwards run
update-mime-database /usr/share/mime as root.

[1] https://bugs.freedesktop.org/show_bug.cgi?id=4334