gnome-keyring/gnome-keyring-2.20-add_new_keyrings.patch
Alexander Larsson 943ca97c72 - Backport fix from svn where newly created keyrings weren't found
- Don't unset default keyring on daemon shutdown
2007-10-03 14:04:37 +00:00

15 lines
479 B
Diff

Index: daemon/gkr-daemon-ops.c
===================================================================
--- daemon/gkr-daemon-ops.c (revision 838)
+++ daemon/gkr-daemon-ops.c (revision 839)
@@ -723,6 +723,9 @@
g_warning ("couldn't create default keyring");
ask->response = GKR_ASK_RESPONSE_FAILURE;
} else {
+ /* Add to our main list */
+ gkr_keyrings_add (keyring);
+
/* Set our newly created keyring as the default */
gkr_keyrings_set_default (keyring);
}