summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-08 08:09:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-08 08:09:48 +0000
commit2ae159623725aa5f6b0265da8f8bff5e297eb9f3 (patch)
tree141a70b10bb47910de68358ccd2c1bf9b341de33
parent55615d37c5692f49680caa79bf897cf8a6b6fdea (diff)
downloaddrakx-2ae159623725aa5f6b0265da8f8bff5e297eb9f3.tar
drakx-2ae159623725aa5f6b0265da8f8bff5e297eb9f3.tar.gz
drakx-2ae159623725aa5f6b0265da8f8bff5e297eb9f3.tar.bz2
drakx-2ae159623725aa5f6b0265da8f8bff5e297eb9f3.tar.xz
drakx-2ae159623725aa5f6b0265da8f8bff5e297eb9f3.zip
warn the user before dm exit will kill the session (Robert Vojta, #10179)
-rw-r--r--perl-install/standalone/drakedm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm
index 16a83061b..81631d4b4 100644
--- a/perl-install/standalone/drakedm
+++ b/perl-install/standalone/drakedm
@@ -75,6 +75,7 @@ several different X sessions on your local machine at the same time.")),
log::explanations(qq(Switching to "$dm" display manager));
if (any::running_window_manager()) {
$in->ask_yesorno('', N("The change is done, do you want to restart the dm service ?"), 1) and
+ $in->ask_yesorno('', N("You are going to close all running programs and lost your current session. Are you really sure that you want to restart the dm service ?"), 1) and
run_program::rooted($::prefix, "nohup", "/etc/rc.d/init.d/dm", "restart");
}
}