From 9ca9a63597f34576f9574e136dea4a1de8183f46 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 20 Apr 2000 17:50:23 +0000 Subject: *** empty log message *** --- perl-install/install_steps_gtk.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 0a68e27ec..34447fbc9 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -404,11 +404,13 @@ sub choosePackagesTree { my ($root, $leaf); if ($flat = $_[0]) { - $add_node->($_, undef) foreach sort keys %{$packages->[0]}; + $add_node->($_, undef) foreach sort grep { my $pkg = pkgs::packageByName($packages, $_); + $pkg->{medium}{selected} } keys %{$packages->[0]}; } else { foreach (sort @$compss) { ($root, $leaf) = m|(.*)/(.+)|o or ($root, $leaf) = ('', $_); - $add_node->($leaf, $root); + my $pkg = pkgs::packageByName($packages, $leaf); + $add_node->($leaf, $root) if $pkg->{medium}{selected}; } } $tree->thaw; -- cgit v1.2.1