RE: proposal for MIME behavior in GNOME



A Sex, 2003-12-05 às 09:37, Murray Cumming Comneon com escreveu:
> Jonathan Blandford wrote:
> > I have written a proposal for handling MIME types and files 
> > better in nautilus at:
> > 
> >  http://www.gnome.org/~jrb/files/mime/
> 
> It all looks wonderful to me, and, apart from the file property tab, I hope
> it's how it's _supposed_ to work now.
> 
> One question though. You say
> "
> If the type of a file is application/octet-stream, we auto generate a type
> of application/x-extension-<EXTENSION>. If the file doesn't obviously have
> an extension, we use the filename. Note that only binary files will get
> this. All files who's first 256 values are valid UTF-8 will be listed as
> text/plain.
> "
> 
> Doesn't this mean that all unknown files, which happen to be formatted as
> XML, will have a primary application of gedit or similar, without the user
> being aware that that is probably inappropriate. If it was a binary format
> then the user would quickly see that he didn't have the necessary
> application installed .
> 
> In general, I think that XML-formatted files should be opened with a
> suitable application, and not edited directly unless the user requests that
> explicitly. And if there's no suitable application already associated then
> the user should be told that.

	This reminds me (#119542) that in GNOME 2.4 it is not possible to
register applications for handling XML-formatted files.  Not unless you
patch gnome-vfs-mime-magic anyway.  Don't do the same mistake again,
please!

-- 
Gustavo João Alves Marques Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]