diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-03-16 20:12:43 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-03-16 20:12:43 +0100 |
commit | da408f4ab4e22af0799440942b22b1e44e5f4364 (patch) | |
tree | 942a2528d5d9722ec4773b60c53432b9a9059515 /secret-service | |
parent | 518796e24052efb90bcf0a6115af576e2d7b11db (diff) | |
download | xdg-specs-da408f4ab4e22af0799440942b22b1e44e5f4364.tar.xz |
Property names in CreateItem and CreateCollection have interface.
Specify properties to CreateItem and CreateCollection with a full
interface name like so:
org.freedesktop.Secret.Item.Label
This allows future extensions to use different interfaces.
Diffstat (limited to 'secret-service')
-rw-r--r-- | secret-service/org.freedesktop.Secrets.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml index 7d23c78..cee47e9 100644 --- a/secret-service/org.freedesktop.Secrets.xml +++ b/secret-service/org.freedesktop.Secrets.xml @@ -108,13 +108,13 @@ <tp:docstring xmlns:docbook="http://docbook.org/ns/docbook"> <para> Properties for the new collection. This allows setting the new collection's - properties upon its creation. All READWRITE properties of the Collection - interface are useable. + properties upon its creation. All READWRITE properties are useable. Specify + the property names in full interface.Property form. <example> <title>Example for properties</title> <programlisting> <![CDATA[ -properties = { "Label": "MyCollection" } +properties = { "org.freedesktop.Secret.Collection.Label": "MyCollection" } ]]> </programlisting> </example> @@ -301,18 +301,18 @@ properties = { "Label": "MyCollection" } <tp:docstring xmlns:docbook="http://docbook.org/ns/docbook"> <para> Properties for the new item. This allows setting the new item's - properties upon its creation. All READWRITE properties of the Item - interface are useable. + properties upon its creation. All READWRITE properties are useable. + Specify the property names in full interface.Property form. <example> <title>Example for properties</title> <programlisting> <![CDATA[ properties = { - "Label": "MyItem", - "Attributes": { - "Attribute1": "Value1", - "Attribute2": "Value2" - } + "org.freedesktop.Secret.Item.Label": "MyItem", + "org.freedesktop.Secret.Item.Attributes": { + "Attribute1": "Value1", + "Attribute2": "Value2" + } } ]]> </programlisting> |