Hi,

Alex Jones wrote:
> As far as Launch vs. NewDocument vs. OpenDocument is concerned, We can
> finally support XDG Desktop Actions[1] on files by implementing
> different methods for opening files.
>   

I think it's important to have an extensible dictionary of properties, 
so at that point one of the properties could just be uris=["foo", "bar"] 
and another action="open"

So you can just have Launch(properties) and that's it perhaps.

Though as you suggest FileAction(string action, string uri, dict 
properties) is perhaps slightly cleaner, to make clear that action and 
uri are mandatory and the properties are optional. Then Launch(dict 
properties) or NewDocument(dict properties) would probably be separate 
methods.

I don't know, something like that.

Havoc

_______________________________________________
desktop-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to