From cda3b913dbf23cab6829852022584fa510b57fa6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 21 Aug 2002 11:11:04 +0000 Subject: * query.c (agent_askpin): Hack to show the right default prompt. (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. --- agent/protect-tool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'agent/protect-tool.c') 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 } -- cgit v1.2.3