From 51ce8edf711229049dd17bf26669b69a78e953bf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 13 May 2008 16:25:18 +0000 Subject: reuse any::ask_for_X_restart() (thus also advise to restart when changing system wide settings) --- perl-install/standalone/localedrake | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'perl-install') diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake index 0e311b383..c4bbf16ef 100755 --- a/perl-install/standalone/localedrake +++ b/perl-install/standalone/localedrake @@ -52,10 +52,4 @@ if ($> && lang::IM2packages($locale)) { } 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_okcancel('', $msg, 1) - and any::ask_window_manager_to_logout($wm); -} else { - $in->ask_warn('', $msg); -} +any::ask_for_X_restart($in); -- cgit v1.2.1