summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-22 13:38:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-22 13:38:17 +0000
commitc07319bb05edd59018e73644d2039a11e7acb9f5 (patch)
treeba3d9f5a0866094cee6ad581a9a4214c4ea6c92d
parent062eaefbbe3325b52381da3dcf7fa3e21581a21d (diff)
downloaddrakx-c07319bb05edd59018e73644d2039a11e7acb9f5.tar
drakx-c07319bb05edd59018e73644d2039a11e7acb9f5.tar.gz
drakx-c07319bb05edd59018e73644d2039a11e7acb9f5.tar.bz2
drakx-c07319bb05edd59018e73644d2039a11e7acb9f5.tar.xz
drakx-c07319bb05edd59018e73644d2039a11e7acb9f5.zip
adapt to mouse::write prototype change
-rw-r--r--perl-install/install2.pm2
-rw-r--r--perl-install/install_steps_interactive.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index e980794cd..5dc3bd2aa 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -100,7 +100,7 @@ sub selectMouse {
installStepsCall($o, $auto, 'selectMouse', !$first_time || $clicked);
- addToBeDone { mouse::write($o->{prefix}, $o->{mouse}) } 'installPackages' if !$o->{isUpgrade} || $clicked;
+ addToBeDone { mouse::write($o, $o->{mouse}) } 'installPackages' if !$o->{isUpgrade} || $clicked;
}
#------------------------------------------------------------------------------
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 28a655fea..e3763bf85 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1036,7 +1036,7 @@ sub summary {
messages => _("Summary"),
cancel => '',
}, [
-{ label => _("Mouse"), val => \$mouse_name, clicked => sub { $o->selectMouse(1); mouse::write($o->{prefix}, $o->{mouse}); &$format_mouse } },
+{ label => _("Mouse"), val => \$mouse_name, clicked => sub { $o->selectMouse(1); mouse::write($o, $o->{mouse}); &$format_mouse } },
{ label => _("Keyboard"), val => \$o->{keyboard}, clicked => sub { $o->selectKeyboard(1) }, format => sub { translate(keyboard::keyboard2text($_[0])) } },
{ label => _("Timezone"), val => \$o->{timezone}{timezone}, clicked => sub { $o->configureTimezone(1) } },
{ label => _("Printer"), val => \$o->{printer}, clicked => sub { $o->configurePrinter(1) }, format => $format_printers },