[Gpephone-devel] 答复: Adding new entry to .desktop file
Nils Faerber
nils.faerber at kernelconcepts.de
Thu Jan 3 13:21:17 CET 2008
WANG Gang RD-ILAB-PEK schrieb:
> Hi,
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...
Also see my last mail about the mimetype database.
Nevertheless the problem with extending the .desktop standard is that
this have to be considered very carefully in order not to break existing
applications or parsers (or both).
> BR
> Gang
Cheers
nils faerber
--
kernel concepts GbR Tel: +49-271-771091-12
Sieghuetter Hauptweg 48 Fax: +49-271-771091-19
D-57072 Siegen Mob: +49-176-21024535
--
More information about the Gpephone-devel
mailing list