summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-13 15:34:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-13 15:34:48 +0000
commite521962cd3779a80efe586c57aaf717fbe1e9b43 (patch)
tree519683d555d41a2d09896badb1cfc4cfb9e722dd /perl-install/install_steps_gtk.pm
parent4158940c604589d85fce94b87ed78af083291b24 (diff)
downloaddrakx-e521962cd3779a80efe586c57aaf717fbe1e9b43.tar
drakx-e521962cd3779a80efe586c57aaf717fbe1e9b43.tar.gz
drakx-e521962cd3779a80efe586c57aaf717fbe1e9b43.tar.bz2
drakx-e521962cd3779a80efe586c57aaf717fbe1e9b43.tar.xz
drakx-e521962cd3779a80efe586c57aaf717fbe1e9b43.zip
(installPackages): do not show button "Details" when no advertising
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 150c444d0..ae713582d 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -580,6 +580,7 @@ sub installPackages {
$w->sync;
$msg->set(_("Please wait, preparing installation"));
gtkset_mousecursor_normal($cancel->window);
+ $details->hide if !@install_any::advertising_images;
my $advertize = sub {
@install_any::advertising_images or return;