From 45d270fa5e983f8a0ab59ac4d8bf98668c40a345 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 5 Feb 2008 13:25:12 +0000 Subject: enhance the dialog (ok/cancel instead of yes/no) --- perl-install/standalone/localedrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake index 75c7bed28..0e311b383 100755 --- a/perl-install/standalone/localedrake +++ b/perl-install/standalone/localedrake @@ -54,7 +54,7 @@ lang::write_and_install($locale, $in->do_pkgs, $>); my $msg = N("The change is done, but to be effective you must logout"); if (my $wm = $> && any::running_window_manager()) { - $in->ask_yesorno('', $msg, 1) + $in->ask_okcancel('', $msg, 1) and any::ask_window_manager_to_logout($wm); } else { $in->ask_warn('', $msg); -- cgit v1.2.1