[gnome-keyring/dbus-api] Rename ItemCreated, ItemDeleted, and move ItemChanged.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-keyring/dbus-api] Rename ItemCreated, ItemDeleted, and move ItemChanged.
- Date: Thu, 16 Jul 2009 01:39:32 +0000 (UTC)
commit 3135e3e3f0242c10e16b839440a72c8947c97c71
Author: Stefan Walter <Stefan Walter>
Date: Thu Jul 16 00:39:32 2009 +0000
Rename ItemCreated, ItemDeleted, and move ItemChanged.
Change CreatedItem signal to ItemCreated and DeletedItem to ItemDeleted,
as suggested by Kevin Krammer.
Also move 'changed' signal from Item interface to ItemChanged on
Collection interface. If people want to monitor properties of an
individual item they can do so with the standard dbus properties
api. ItemChanged is useful for monitoring changes in a whole
collection (in a GUI for example).
daemon/secrets/api/org.freedesktop.Secrets.xml | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/daemon/secrets/api/org.freedesktop.Secrets.xml b/daemon/secrets/api/org.freedesktop.Secrets.xml
index efe6b3e..453042a 100644
--- a/daemon/secrets/api/org.freedesktop.Secrets.xml
+++ b/daemon/secrets/api/org.freedesktop.Secrets.xml
@@ -198,7 +198,7 @@
</arg>
</method>
- <signal name="CreatedItem">
+ <signal name="ItemCreated">
<annotation value="A new item in this collection was created." name="org.gtk.EggDBus.DocString"/>
<arg name="item" type="o">
@@ -206,7 +206,7 @@
</arg>
</signal>
- <signal name="DeletedItem">
+ <signal name="ItemDeleted">
<annotation value="An item in this collection was deleted." name="org.gtk.EggDBus.DocString"/>
<arg name="item" type="o">
@@ -214,6 +214,15 @@
</arg>
</signal>
+ <signal name="ItemChanged">
+ <annotation value="An item in this collection changed." name="org.gtk.EggDBus.DocString"/>
+
+ <arg name="item" type="o">
+ <annotation value="The item that was changed." name="org.gtk.EggDBus.DocString"/>
+ </arg>
+ </signal>
+
+
</interface>
<!--
@@ -250,10 +259,6 @@
<annotation value="Item wraps a secret" name="org.gtk.EggDBus.DocString.Summary"/>
<annotation value="An item contains a secret, lookup attributes and has a label." name="org.gtk.EggDBus.DocString"/>
- <signal name="changed">
- <annotation value="The item changed in some way." name="org.gtk.EggDBus.DocString"/>
- </signal>
-
<property name="Locked" type="b" access="read">
<annotation value="Whether the item is locked and requires authentication, or not." name="org.gtk.EggDBus.DocString"/>
</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]