diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-13 10:42:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-13 10:42:56 +0000 |
commit | 728383085d9e3c3b7ce99995177dc07859e9e133 (patch) | |
tree | 300366404a6b427f31c72dd6fbfbcad848f23523 | |
parent | 9673f1fe2a5a98b6719dbbe576dad6fb36c17ed8 (diff) | |
download | drakx-backup-do-not-use-728383085d9e3c3b7ce99995177dc07859e9e133.tar drakx-backup-do-not-use-728383085d9e3c3b7ce99995177dc07859e9e133.tar.gz drakx-backup-do-not-use-728383085d9e3c3b7ce99995177dc07859e9e133.tar.bz2 drakx-backup-do-not-use-728383085d9e3c3b7ce99995177dc07859e9e133.tar.xz drakx-backup-do-not-use-728383085d9e3c3b7ce99995177dc07859e9e133.zip |
(media_screen) display tooltips for update media too
-rw-r--r-- | perl-install/install/any.pm | 3 |
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' }, }; |