[gnome-keyring/dbus-api] [secret-store] Refresh token objects when creating a search.
- From: Stefan Walter <stefw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-keyring/dbus-api] [secret-store] Refresh token objects when creating a search.
- Date: Sun, 27 Sep 2009 01:36:58 +0000 (UTC)
commit 22cd4bf3a1fd562bf34dcbfc197351dc0d813bb7
Author: Stef Walter <stef memberwebs com>
Date: Sun Sep 27 01:35:22 2009 +0000
[secret-store] Refresh token objects when creating a search.
The normal time that we refresh loaded objects is when running
C_FindObjects. However since creating a search object is just
like doing a find, do the same thing here.
pkcs11/secret-store/gck-secret-search.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pkcs11/secret-store/gck-secret-search.c b/pkcs11/secret-store/gck-secret-search.c
index 27e1860..1d23985 100644
--- a/pkcs11/secret-store/gck-secret-search.c
+++ b/pkcs11/secret-store/gck-secret-search.c
@@ -196,6 +196,9 @@ populate_search_from_managers (GckSecretSearch *self, GList *managers)
g_assert (!self->managers);
self->managers = managers;
+ /* Load any new items or collections */
+ gck_module_refresh_token (gck_object_get_module (GCK_OBJECT (self)));
+
for (l = self->managers; l; l = g_list_next (l)) {
manager = GCK_MANAGER (l->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]