[maemo-developers] [maemo-developers] Gnome VFS problem?

From: Eduardo de Barros Lima eduardo.lima at indt.org.br
Date: Mon Oct 31 20:00:03 EET 2005
Hi all,

     I am having some problem with mime type detection in the maemo 
platform. I have created two simple gtk-based programs to test this 
funcionality. The first one to run in the host machine and the second to 
run inside maemo platform. Just select a file with the 
GtkFileChooserDialog and the mime type will be displayed in the screen.

     I am interested in PS and PDF files, since i am working with the 
evince port that uses mime type detection provided by gnome-vfs. Inside 
maemo platform, PS files are recognized as text/plain and PDF as 
application/octet-stream. This way, evince refuses to open those kind of 
  files, so i have made a little workaround based on file extensions to 
make it work.

     Is this a bug or is it the spected behaviour? Thanks in advance for 
the help.

-- 
Eduardo de Barros Lima
INdT - Instituto Nokia de Tecnologia
eduardo.lima at indt.org.br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_gnomevfs.c
Type: text/x-csrc
Size: 4798 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20051031/35e8eeeb/attachment.c 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_gnomevfs_maemo.c
Type: text/x-csrc
Size: 4418 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20051031/35e8eeeb/attachment-0001.c 
More information about the maemo-developers mailing list