diff options
author | Werner Koch <wk@gnupg.org> | 2002-08-21 13:11:04 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-08-21 13:11:04 +0200 |
commit | cda3b913dbf23cab6829852022584fa510b57fa6 (patch) | |
tree | eb6512398a06e17135e4204674f4c071b54061d0 /agent/protect-tool.c | |
parent | use setlocale(). (diff) | |
download | gnupg2-cda3b913dbf23cab6829852022584fa510b57fa6.tar.xz gnupg2-cda3b913dbf23cab6829852022584fa510b57fa6.zip |
* query.c (agent_askpin): Hack to show the right default prompt.NEWPG-0-9-0
(agent_get_passphrase): Ditto.
* Makefile.am: Renamed the binary protect-tool to gpg-protect-tool.
* protect-tool.c: Removed the note about internal use only.
* gpg-agent.c (main): New option --daemon so that the program is
not accidently started in the background.
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r-- | agent/protect-tool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c index b762437a8..1d706ea2b 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -133,9 +133,9 @@ i18n_init (void) set_gettext_file( PACKAGE ); #else #ifdef ENABLE_NLS - /* gtk_set_locale (); HMMM: We have not yet called gtk_init */ - bindtextdomain( PACKAGE, LOCALEDIR ); - textdomain( PACKAGE ); + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); #endif #endif } |