summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-13 10:42:56 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-13 10:42:56 +0000
commitb04f79db286bd863df7ff3ab776114361177ff4c (patch)
tree300366404a6b427f31c72dd6fbfbcad848f23523 /perl-install/install
parent3ea076a136b24834dae021af82de078d150f0445 (diff)
downloaddrakx-b04f79db286bd863df7ff3ab776114361177ff4c.tar
drakx-b04f79db286bd863df7ff3ab776114361177ff4c.tar.gz
drakx-b04f79db286bd863df7ff3ab776114361177ff4c.tar.bz2
drakx-b04f79db286bd863df7ff3ab776114361177ff4c.tar.xz
drakx-b04f79db286bd863df7ff3ab776114361177ff4c.zip
(media_screen) display tooltips for update media too
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 82aaad4c9..4a4be81c2 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -371,10 +371,11 @@ sub media_screen {
my $name = $medium->{name};
my ($distribconf, $medium_path) = @{$_->{mediacfg}};
my @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type'));
+ my $parent = $distribconf->getvalue($medium_path, 'updates_for');
intersection(\@media_types, [ qw(backports debug source testing) ]) ? () :
+{
val => \$medium->{temp_enabled}, type => 'bool', text => $name,
- help => $descriptions{$name},
+ help => $medium->{update} ? N("This medium provides package updates for medium \"%s\"", $parent) : $descriptions{$name},
# 'Core Release' cannot be unselected:
disabled => sub { $name eq 'Core Release' },
};