Re: LibUnique as blessed dependency
- From: Havoc Pennington <hp redhat com>
- Cc: GNOME Desktop Devel <desktop-devel-list gnome org>
- Subject: Re: LibUnique as blessed dependency
- Date: Thu, 12 Jul 2007 15:22:08 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]