summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-02-07 16:55:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-02-07 16:55:39 +0000
commit6ef7c759ad3036578616b91e6ab835b50831fb78 (patch)
tree121f45bde03dbc9b7d52793d6a5827476669fcaf
parentc72abc30cca9ec5ca33826b569d35284b3b98480 (diff)
downloaddrakx-backup-do-not-use-6ef7c759ad3036578616b91e6ab835b50831fb78.tar
drakx-backup-do-not-use-6ef7c759ad3036578616b91e6ab835b50831fb78.tar.gz
drakx-backup-do-not-use-6ef7c759ad3036578616b91e6ab835b50831fb78.tar.bz2
drakx-backup-do-not-use-6ef7c759ad3036578616b91e6ab835b50831fb78.tar.xz
drakx-backup-do-not-use-6ef7c759ad3036578616b91e6ab835b50831fb78.zip
fix pixel stuff: don't restart wm on cancel
-rw-r--r--perl-install/standalone/localedrake12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index 2e26aa414..4f3ae4a32 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -16,13 +16,13 @@ $langs = '' if $>;
if ($lang = any::selectLanguage($in, $lang, $langs)) {
lang::write('', $lang, $file, $>);
lang::write_langs('', $langs) if $langs;
+ if ($>) {
+ if (my $wm = any::running_window_manager()) {
+ $in->ask_warn('', _("Please relog into %s to activate the changes", ucfirst (lc $wm)), 1);
+ any::ask_window_manager_to_logout($wm);
+ }
+ }
}
-if ($>) {
- if (my $wm = any::running_window_manager()) {
- $in->ask_warn('', _("Please relog into %s to activate the changes", ucfirst (lc $wm)), 1);
- any::ask_window_manager_to_logout($wm);
- }
-}
$in->exit(0);