diff options
author | Werner Koch <[email protected]> | 2009-06-17 10:19:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-06-17 10:19:50 +0000 |
commit | aa03d8f184dd6acbf75c316b44bccc0325af35a3 (patch) | |
tree | 9bd764140f9fa712bdf9786781b7cec6b8159345 /agent/trustlist.c | |
parent | Add readcert command. (diff) | |
download | gnupg-aa03d8f184dd6acbf75c316b44bccc0325af35a3.tar.gz gnupg-aa03d8f184dd6acbf75c316b44bccc0325af35a3.zip |
Use cancel button in confirmation only if requested.
Diffstat (limited to 'agent/trustlist.c')
-rw-r--r-- | agent/trustlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/trustlist.c b/agent/trustlist.c index afb941412..a0b23b51f 100644 --- a/agent/trustlist.c +++ b/agent/trustlist.c @@ -616,7 +616,7 @@ agent_marktrusted (ctrl_t ctrl, const char *name, const char *fpr, int flag) xfree (nameformatted); return out_of_core (); } - err = agent_get_confirmation (ctrl, desc, _("Yes"), _("No")); + err = agent_get_confirmation (ctrl, desc, _("Yes"), _("No"), 1); xfree (desc); if (!err) yes_i_trust = 1; @@ -664,7 +664,7 @@ agent_marktrusted (ctrl_t ctrl, const char *name, const char *fpr, int flag) /* TRANSLATORS: "Correct" is the label of a button and intended to be hit if the fingerprint matches the one of the CA. The other button is "the default "Cancel" of the Pinentry. */ - err = agent_get_confirmation (ctrl, desc, _("Correct"), _("Wrong")); + err = agent_get_confirmation (ctrl, desc, _("Correct"), _("Wrong"), 1); xfree (desc); if (gpg_err_code (err) == GPG_ERR_NOT_CONFIRMED) yes_i_trust = 0; |