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 77392 - TeX files: mismatch between gnome-vfs.keys and gnome-vfs.mime
TeX files: mismatch between gnome-vfs.keys and gnome-vfs.mime
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: MIME data
1.9.x
Other other
: Normal minor
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2002-04-02 16:58 UTC by Alexander Kirillov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
this patch adds icon_filename=gnome-tex to text/x-tex mime type (372 bytes, patch)
2002-10-05 15:24 UTC, Alexander Kirillov
none Details | Review

Description Alexander Kirillov 2002-04-02 16:58:14 UTC
IN gnome-vfs.mime, TeX files have mime type text/x-tex. In gnome-vfs.keys,
there is no text/x-tex; instead, it contains application/x-tex and
text/tex. As a result, "File types and programs" capplet does not show any
mime type corresponding to TeX files at all. I am not sure what the correct
mime type for TeX files should be, but clearly it must be the same in all
files...
Comment 1 Luis Villa 2002-05-01 16:22:35 UTC
Minor but would be nice to fix.
Comment 2 Alexander Kirillov 2002-05-01 16:40:17 UTC
It is easy to fix - but it is not so minor. For scientists -
particualrly math, physics and chemistry - TeX is the most important 
tool they use daily, and having TeX files not recognized by GNOME is
very annoying. 
Comment 3 Alexander Kirillov 2002-05-02 16:14:41 UTC
In the latest build, gnome-vfs.keys contains all 3:
application/x-tex
text/x-tex
text/tex

I am not sure why we need all 3 - but it is better than whta we had
before. Now my only gripe is that of these 3 descriptions, only
application/tex contains icon=... field. As a result, TeX files are
now correctly recognized as such but do not use (existing) TeX file
type icon. 
Comment 4 Seth Nickell 2002-05-10 05:33:18 UTC
The icon= line should be unnecessary except for the "non default"
entries. GnomeVFS automatically uses icons that are named the same as
a type. For the other types we should hardcode an icon= field pointing
to whatever we deem to be the default type.

If you want to make a patch for this I'd be happy to apply it.
Comment 5 Alexander Kirillov 2002-10-05 15:24:34 UTC
Created attachment 11412 [details] [review]
this patch adds icon_filename=gnome-tex to text/x-tex mime type
Comment 6 Alexander Kirillov 2002-10-05 15:27:33 UTC
I almost forgot about this one... But here is the (trivial) patch. If
you authorize me, I can apply it myself. 

Another thing, related to this: currently, all TeX types have 
category=Documents/Text markup. This is strange given that there is a
separate category Documents/TeX which only contains dvi files. Should
we change that? I can make a patch for this, too. 
Comment 7 Christophe Fergeau 2002-11-04 18:59:47 UTC
I committed your patch to CVS HEAD, thanks