From 92b1cf8f669b2a9261b0a832e45ae2a8c1c26728 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 13 Apr 2001 16:22:46 +0000 Subject: (installPackages): hide Details button sooner --- perl-install/install_steps_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 ae713582d..58be4621c 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -577,10 +577,10 @@ sub installPackages { my $details = new Gtk::Button(_("Details")), ), )), 0, 1, 0); + $details->hide if !@install_any::advertising_images; $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; -- cgit v1.2.1