summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-16 16:22:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-16 16:22:56 +0000
commit7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac (patch)
tree8caf66c7fa1860db0260bcf652f15ca206a87154 /perl-install/standalone/harddrake2
parent72d5fd5f80e536de63cfa4aaa36e81511484efd2 (diff)
downloaddrakx-backup-do-not-use-7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac.tar
drakx-backup-do-not-use-7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac.tar.gz
drakx-backup-do-not-use-7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac.tar.bz2
drakx-backup-do-not-use-7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac.tar.xz
drakx-backup-do-not-use-7b24a21a6b2e7be09ce60b68ae8c64c0d34b80ac.zip
remove useless "Autodetect printers" option
rationale: we don't detect anymore printers since commit r245200 on 2008-09-15 ("do not use anymore printerdrake and thus do not detect printers anymore")
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake24
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 43f857996..1d7d450a2 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -183,7 +183,6 @@ my %menus = (
);
my %menu_options = (
- 'PRINTERS_DETECTION' => [ $menus{options}, N("/Autodetect _printers") ],
'MODEMS_DETECTION' => [ $menus{options}, N("/Autodetect _modems") ],
'JAZZ_DETECTION' => [ $menus{options}, N("/Autodetect _jaz drives") ],
'PARALLEL_ZIP_DETECTION' => [ $menus{options}, N("/Autodetect parallel _zip drives") ],
@@ -198,8 +197,6 @@ my @menu_items =
(
[ N("/_File"), undef, undef, undef, '<Branch>' ],
[ N("/_File") . N("/_Quit"), N("<control>Q"), \&quit_global, undef, '<Item>' ],
- [ join('', @{$menu_options{PRINTERS_DETECTION}}), undef,
- sub { $options{PRINTERS_DETECTION} = $check_boxes{PRINTERS_DETECTION}->get_active }, undef, '<CheckItem>' ],
[ join('', @{$menu_options{MODEMS_DETECTION}}), undef,
sub { $options{MODEMS_DETECTION} = $check_boxes{MODEMS_DETECTION}->get_active }, undef, '<CheckItem>' ],
[ join('', @{$menu_options{JAZZ_DETECTION}}), undef,
@@ -392,7 +389,6 @@ foreach my $hw_class (@harddrake::data::tree) {
next if ref($detector) ne "CODE"; #skip class witouth detector
next if $Ident =~ /(MODEM|PRINTER)/ && $::testing;
next if $Ident =~ /JAZZ/ && !$options{JAZZ_DETECTION};
- next if $Ident =~ /PRINTER/ && !$options{PRINTERS_DETECTION};
$detect_devices::detect_serial_modem = 0 if $Ident =~ /MODEM/ && !$options{MODEMS_DETECTION};
my @devices = $detector->(\%options);