From 09c62d0b198d68afd4f16da79982bfa7d91f8706 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 4 Mar 2005 14:46:32 +0000 Subject: Disallow to delect the first media listed in the "hdlists" file. --- perl-install/install_steps_gtk.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 13177303e..5df11bed2 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -678,7 +678,12 @@ sub deselectFoundMedia { Gtk2::VBox->new(0, 5), Gtk2::WrappedLabel->new(N("The following installation media have been found. If you want to skip some of them, you can unselect them now.")), - (map { ++$i; gtknew('CheckButton', text => $_->[3], active_ref => \$selection[$i]) } @hdlist2), + (map { + ++$i; + my $b = gtknew('CheckButton', text => $_->[3], active_ref => \$selection[$i]); + $b->set_sensitive(0) unless $i; + $b; + } @hdlist2), gtknew('HSeparator'), Gtk2::WrappedLabel->new(N("You have the option to copy the contents of the CDs onto the hard drive before installation. It will then continue from the hard drive and the packages will remain available once the system is fully installed.")), -- cgit v1.2.1