[gnome-keyring] [wrap-layer] Fix inability to save password for other keyrings.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] [wrap-layer] Fix inability to save password for other keyrings.
- Date: Wed, 9 Mar 2011 17:03:06 +0000 (UTC)
commit e826634d7a846f796a81a1a57c2cd78405099c48
Author: Stef Walter <stefw collabora co uk>
Date: Wed Mar 9 17:45:38 2011 +0100
[wrap-layer] Fix inability to save password for other keyrings.
Fix the "Automatically unlock this keyring whenever I'm logged in"
The logic for enabling the setting was inversed.
https://bugzilla.gnome.org/show_bug.cgi?id=642001
pkcs11/wrap-layer/gkm-wrap-prompt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/wrap-layer/gkm-wrap-prompt.c b/pkcs11/wrap-layer/gkm-wrap-prompt.c
index 7fcc3ac..1d39854 100644
--- a/pkcs11/wrap-layer/gkm-wrap-prompt.c
+++ b/pkcs11/wrap-layer/gkm-wrap-prompt.c
@@ -673,7 +673,7 @@ prepare_unlock_keyring_other (GkmWrapPrompt *self, const gchar *label)
gku_prompt_show_widget (prompt, "password_area");
gku_prompt_show_widget (prompt, "options_area");
- if (gkm_wrap_login_is_usable ())
+ if (!gkm_wrap_login_is_usable ())
gku_prompt_set_unlock_sensitive (prompt, GCR_UNLOCK_OPTION_ALWAYS, FALSE, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]