From 0a374a5afce0ebe9bf0c3c5718b635fc7f2bc6c6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Mar 2008 14:55:54 +0000 Subject: (switch) use the same API when there's no alternative driver (needed for next commits) --- perl-install/harddrake/sound.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 55751e42e..ca1c2352a 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -236,9 +236,11 @@ sub switch { my %des = modules::category2modules_and_description('multimedia/sound'); if ($new_driver eq 'unknown') { - $in->ask_from(N("No alternative driver"), - N("There's no known OSS/ALSA alternative driver for your sound card (%s) which currently uses \"%s\"", - $device->{description}, $driver), + $in->ask_from_({ + title => N("No alternative driver"), + messages => N("There's no known OSS/ALSA alternative driver for your sound card (%s) which currently uses \"%s\"", + $device->{description}, $driver), + }, [ get_any_driver_entry($in, $modules_conf, $driver, $device), ] -- cgit v1.2.1