pinentry/gtk (pinentry-gtk.c)

[email protected] Mon, 22 Dec 2003 13:48:38 +0100
Newsgroups gmane.comp.encryption.gpg.aegypten.cvs
Message-ID <[email protected]>
    Date: Monday, December 22, 2003 @ 13:48:38
  Author: werner
    Path: /cvs/aegypten/pinentry/gtk

Modified: pinentry-gtk.c

* assuan.h (ASSUAN_Locale_Problem): Added.

* pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR.
* gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag.
* pinentry/pinentry-curses.c (dialog_run): Ditto.
* pinentry/pinentry.c (cmd_getpin, cms_confirm): Check this flag.
(pinentry_local_to_utf8): Release the correct buffer in the error
case. Print diagnostics.
(pinentry_utf8_to_local): Print diagnostics.

* gtk/pinentry-gtk.c (button_clicked): Use the right value as
input for the conversion.


----------------+
 pinentry-gtk.c |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)