From 059c4e9ce898e59ac9a812c403be88439a139833 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 27 Aug 2008 16:07:12 +0000 Subject: (create_steps_window) better layout in 640x480 (#43231) ("regression" introduced in r243712 on 2008-07-30: "(create_steps_window) first steps toward new installer style") --- perl-install/install/gtk.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/install/gtk.pm') diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index 99e2ede7f..beaadad9c 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -109,8 +109,6 @@ my %steps; sub create_steps_window { my ($o) = @_; - return if $::stepswidth == 0; - $o->{steps_window} and $o->{steps_window}->destroy; $steps{$_} ||= gtknew('Pixbuf', file => "steps_$_") foreach qw(on off done); @@ -177,6 +175,7 @@ sub create_steps_window { gtknew('HBox', children => [ + if_($::stepswidth != 0, 0, $o->{steps_widget}), 0, $o->{steps_widget}, 1, gtknew('Label', width => -1, height => -1), ], -- cgit v1.2.1