----- "PCMan" <[email protected]> a écrit :

> How should this parameter work if the selected files are of different
> mime types?
> Is this going to be a list of mime-types of every selected file?

Well, yes.
This new parameter would work like %b/%B, %f/%F, %u/%U, %w/%W and
%x/%X. 
%m would bring the mimetype of the 'first' selection item (will all
the precautions we already saw on what is the first item),
and %M would give a space-separated list of mimetypes.

> For me, this is only useful for Exec key since you can pass this to
> the command to let it do different things for different mime-types.
> If this parameter is supported, its use should be limited to Exec,
> and %M should be used in conjunction with %F or %U while %m should
> only be used with %f and %u. Otherwise this looks ok to me.
> 
> On Tue, Aug 3, 2010 at 5:41 PM, Pierre Wieser <[email protected]>
> wrote:
>> Hi all,
>>
>> I would suggest to add %m/%M parameters to the DES-EMA
>> specification [1] in order to get mimetypes of items selected
>> in the file manager.
>>
>> What do you think about that ?
>>
>> Thanks in advance for your answer.
>> Regards
>> Pierre
>>
>> [1] http://www.nautilus-actions.org/?q=node/377
>>
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to