summaryrefslogtreecommitdiffstats
path: root/lib/keyboard.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-08 15:08:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-08 15:08:55 +0000
commiteab9e046737849e5f5981249995e15a8881b5921 (patch)
tree3e0ff5456e7af6594080f90db1259d939dc0f491 /lib/keyboard.pm
parent6906d1421db30c08f18012ba510707bbacd9828e (diff)
downloaddrakx-kbd-mouse-x11-eab9e046737849e5f5981249995e15a8881b5921.tar
drakx-kbd-mouse-x11-eab9e046737849e5f5981249995e15a8881b5921.tar.gz
drakx-kbd-mouse-x11-eab9e046737849e5f5981249995e15a8881b5921.tar.bz2
drakx-kbd-mouse-x11-eab9e046737849e5f5981249995e15a8881b5921.tar.xz
drakx-kbd-mouse-x11-eab9e046737849e5f5981249995e15a8881b5921.zip
- display message This setting will be activated after the installation."
only during installation
Diffstat (limited to 'lib/keyboard.pm')
-rw-r--r--lib/keyboard.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm
index 85abfbf..ca1b6ae 100644
--- a/lib/keyboard.pm
+++ b/lib/keyboard.pm
@@ -391,10 +391,12 @@ sub group_toggle_choose {
allow switching between the different keyboard layouts
(eg: latin and non latin)"), sub { translate($grp_toggles->{$_[0]}) }, [ sort keys %$grp_toggles ], $GRP_TOGGLE) or return;
- $GRP_TOGGLE ne 'rctrl_toggle' and $in->ask_warn(N("Warning"), formatAlaTeX(
+ if ($::isInstall && $GRP_TOGGLE ne 'rctrl_toggle') {
+ $in->ask_warn(N("Warning"), formatAlaTeX(
N("This setting will be activated after the installation.
During installation, you will need to use the Right Control
key to switch between the different keyboard layouts.")));
+ }
log::l("GRP_TOGGLE: $GRP_TOGGLE");
$keyboard->{GRP_TOGGLE} = $GRP_TOGGLE;
} else {