summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/ui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-06 17:13:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-06 17:13:18 +0000
commit7c4bc2258abb36a3295fcc2cce910544b705d2e1 (patch)
tree08803470088ea3be8c930289600a1b81520a31b8 /perl-install/harddrake/ui.pm
parent57e3018fdf17c4ef475948c5e2a829db4c37e198 (diff)
downloaddrakx-7c4bc2258abb36a3295fcc2cce910544b705d2e1.tar
drakx-7c4bc2258abb36a3295fcc2cce910544b705d2e1.tar.gz
drakx-7c4bc2258abb36a3295fcc2cce910544b705d2e1.tar.bz2
drakx-7c4bc2258abb36a3295fcc2cce910544b705d2e1.tar.xz
drakx-7c4bc2258abb36a3295fcc2cce910544b705d2e1.zip
- don't list usb mouses as unknown hw
- fix mouse detection (mouse::detect() needed modules::mergein_conf('/etc/modules.conf') first - don't skip mouse in --test mode
Diffstat (limited to 'perl-install/harddrake/ui.pm')
-rw-r--r--perl-install/harddrake/ui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/ui.pm b/perl-install/harddrake/ui.pm
index 15a897daa..49b48caaf 100644
--- a/perl-install/harddrake/ui.pm
+++ b/perl-install/harddrake/ui.pm
@@ -176,7 +176,7 @@ sub new {
my ($Ident, $title, $icon, $configurator, $detector) = @$_;
next if (ref($detector) ne "CODE"); #skip class witouth detector
print _("Probing %s class\n", $Ident);
- next if $Ident =~ /(MODEM|PRINTER|MOUSE)/ && "@ARGV" =~ /test/;
+ next if $Ident =~ /(MODEM|PRINTER)/ && "@ARGV" =~ /test/;
my @devices = &$detector;
next if (!listlength(@devices)); # Skip empty class (no devices)
my $hw_class_tree = $tree->insert_node(undef, undef, [$title], 5, (gtkcreate_png($icon)) x 2, 0, ($title =~ /Unknown/ ? 0 : 1));