summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-31 20:23:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-31 20:23:38 +0000
commit665c4aaa15abbe276845c75db9984e66b6c723f5 (patch)
tree42e9c9f277422ca5e2aa51c0d59b14d940d11c3b /perl-install
parent6e65decdf556b906b6e656e83b535d5dbcc1ebad (diff)
downloaddrakx-backup-do-not-use-665c4aaa15abbe276845c75db9984e66b6c723f5.tar
drakx-backup-do-not-use-665c4aaa15abbe276845c75db9984e66b6c723f5.tar.gz
drakx-backup-do-not-use-665c4aaa15abbe276845c75db9984e66b6c723f5.tar.bz2
drakx-backup-do-not-use-665c4aaa15abbe276845c75db9984e66b6c723f5.tar.xz
drakx-backup-do-not-use-665c4aaa15abbe276845c75db9984e66b6c723f5.zip
(installPackages): make $show_advertising a global state (for Vincent Meyer)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_gtk.pm3
1 files changed, 2 insertions, 1 deletions
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);