From 665c4aaa15abbe276845c75db9984e66b6c723f5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 31 Jul 2001 20:23:38 +0000 Subject: (installPackages): make $show_advertising a global state (for Vincent Meyer) --- perl-install/install_steps_gtk.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index dc56e3665..ab59b501e 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -474,7 +474,8 @@ sub installPackages { $w->sync; my $text = new Gtk::Label; my ($advertising, $change_time, $i); - my $show_advertising = to_bool(@install_any::advertising_images); + my $show_advertising if 0; + $show_advertising = to_bool(@install_any::advertising_images) if !defined $show_advertising; my ($msg, $msg_time_remaining, $msg_time_total) = map { new Gtk::Label($_) } '', (_("Estimating")) x 2; my ($progress, $progress_total) = map { new Gtk::ProgressBar } (1..2); $w->{rwindow}->set_policy(1, 1, 1); -- cgit v1.2.1