[libgnome-keyring] Use full interface.Property form for CreateCollection and CreateItem
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnome-keyring] Use full interface.Property form for CreateCollection and CreateItem
- Date: Sat, 19 Mar 2011 14:59:53 +0000 (UTC)
commit 6645cac65e6e4d1c058c7dfb9eaae9858b5fcef7
Author: Stef Walter <stefw collabora co uk>
Date: Sat Mar 19 15:58:55 2011 +0100
Use full interface.Property form for CreateCollection and CreateItem
This is a change in the spec so that we can handle future extensibility
on various interfaces properly.
library/gnome-keyring.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/library/gnome-keyring.c b/library/gnome-keyring.c
index d92c527..0fee64d 100644
--- a/library/gnome-keyring.c
+++ b/library/gnome-keyring.c
@@ -907,7 +907,7 @@ static void
create_keyring_encode_properties (DBusMessageIter *iter, const gchar *keyring_name)
{
DBusMessageIter array, dict, variant;
- const gchar *label = "Label";
+ const gchar *label = COLLECTION_INTERFACE ".Label";
dbus_message_iter_open_container (iter, DBUS_TYPE_ARRAY, "{sv}", &array);
dbus_message_iter_open_container (&array, DBUS_TYPE_DICT_ENTRY, NULL, &dict);
@@ -2575,7 +2575,7 @@ item_create_prepare (const gchar *path, GnomeKeyringItemType type, const gchar *
dbus_message_iter_open_container (iter, DBUS_TYPE_ARRAY, "{sv}", &array);
/* Set the label */
- string = "Label";
+ string = ITEM_INTERFACE ".Label";
dbus_message_iter_open_container (&array, DBUS_TYPE_DICT_ENTRY, NULL, &dict);
dbus_message_iter_append_basic (&dict, DBUS_TYPE_STRING, &string);
dbus_message_iter_open_container (&dict, DBUS_TYPE_VARIANT, "s", &variant);
@@ -2584,7 +2584,7 @@ item_create_prepare (const gchar *path, GnomeKeyringItemType type, const gchar *
dbus_message_iter_close_container (&array, &dict);
/* Set the attributes */
- string = "Attributes";
+ string = ITEM_INTERFACE ".Attributes";
dbus_message_iter_open_container (&array, DBUS_TYPE_DICT_ENTRY, NULL, &dict);
dbus_message_iter_append_basic (&dict, DBUS_TYPE_STRING, &string);
dbus_message_iter_open_container (&dict, DBUS_TYPE_VARIANT, "a{ss}", &variant);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]