2002-04-25 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 24 Apr 2002 23:11:00 +0000 (23:11 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 24 Apr 2002 23:11:00 +0000 (23:11 +0000)
commitec7e6539c2b0319702c6d963d137308b5975d042
treedc5cbfa5ecf4f720e54b6f58229888422f4ae9a9
parent0dc6ebbd4f994a39473298085b6a8d6c88811a6f
2002-04-25  Marcus Brinkmann  <marcus@g10code.de>

* curses/pinentry-curses.c (dialog_create): Grok the new ok and
cancel members to set the pbutton texts, rather than parsing the
prompt in the confirm case.

* pinentry/pinentry.h (struct pinentry): Add new members ok and cancel.
* pinentry/pinentry.c (register_commands): Add new commands SETOK
and SETCANCEL to set button texts.
(struct pinentry pinentry): Add initializers for new members.
(cmd_setok): New function.
(cmd_setcancel): Likewise.
ChangeLog
curses/pinentry-curses.c
pinentry/pinentry.c
pinentry/pinentry.h