[Gpephone-devel] 答复: Adding new entry to .desktop file

WANG Gang RD-ILAB-PEK gang.wang at orange-ftgroup.com
Thu Jan 3 13:16:56 CET 2008


Hi,
>
> On the one hand it seems to be a bad idea to duplicate the
> already existing MimeType field on the other hand its current
> content is too limiting for us.
> Probably we should ask the .desktop standard creators for
> advise? I could imagine to create a new tag for our purpose, like
>       MimeTypeAction
> or similar.
> What I would like to see is
> - allow multiple occurance of the keyword/label
> - have one mimetype and multiple verbs per entry
>
> Like:
> ...
> MimeTypeAction=text/ascii:create,open,read,save
> MimeTypeAction=image/jpeg:open

The specification you pointed to doesn't allow multiple keys in the same group.

I would suggest to extend the existing MimeType entry in the specification like:

MimeType=text/ascii:create,open,read,save;image/jpeg:open

while the verbs need to be specified as well...

BR
Gang



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxtogo.org/pipermail/gpephone-devel/attachments/20080103/719bcea4/attachment.htm 


More information about the Gpephone-devel mailing list