summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-20 16:48:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-20 16:48:13 +0000
commita02ac9bf224a3acb027d788893b86d6d943ea18a (patch)
tree2218a0407c9211eee98f7e5d43a5ae79e433c661 /perl-install/standalone/harddrake2
parentf946424df078efcdca74f852a1e4ce34c96752f5 (diff)
downloaddrakx-backup-do-not-use-a02ac9bf224a3acb027d788893b86d6d943ea18a.tar
drakx-backup-do-not-use-a02ac9bf224a3acb027d788893b86d6d943ea18a.tar.gz
drakx-backup-do-not-use-a02ac9bf224a3acb027d788893b86d6d943ea18a.tar.bz2
drakx-backup-do-not-use-a02ac9bf224a3acb027d788893b86d6d943ea18a.tar.xz
drakx-backup-do-not-use-a02ac9bf224a3acb027d788893b86d6d943ea18a.zip
perl_checker fix
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake24
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 7029894fe..43e35e10e 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -8,7 +8,7 @@ use common;
use ugtk2 qw(:create :helpers :wrappers);
use interactive;
-use harddrake::data qw(tree); #- needs to stay after use-ugtk2 as long as this module defines globals containing some N()
+use harddrake::data; #- needs to stay after use-ugtk2 as long as this module defines globals containing some N()
# { field => [ short_translation, full_description] }
@@ -197,7 +197,7 @@ my $selection = gtksignal_connect($tree->get_selection(), 'changed' => sub {
# it must come *after* the space, as the space must follow
# the colon following the direction of writting.
if_($fields{$_}[0], [ $fields{$_}[0] . ": \x{200e}", { 'foreground' => 'royalblue3', 'weight' => Gtk2::Pango->WEIGHT_BOLD } ],
- [ ($_ && $current_device->{$_} =~ /^(unknown)/ ? N("unknown") : $_ && $current_device->{$_} =~ /^(Unknown)/ ? N("Unknown") : "$current_device->{$_}") . "\n\n", { 'foreground' => ($_ eq 'driver' && $current_device->{$_} =~ /^(unknown|Bad:)/ ? 'indian red' : 'black') } ])
+ [ ($_ && $current_device->{$_} =~ /^(unknown)/ ? N("unknown") : $_ && $current_device->{$_} =~ /^(Unknown)/ ? N("Unknown") : $current_device->{$_}) . "\n\n", { 'foreground' => ($_ eq 'driver' && $current_device->{$_} =~ /^(unknown|Bad:)/ ? 'indian red' : 'black') } ])
} sort keys %$current_device ]);
foreach (keys %$current_device) {