summaryrefslogtreecommitdiffstats
path: root/perl-install/install/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-27 16:07:12 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-27 16:07:12 +0000
commit059c4e9ce898e59ac9a812c403be88439a139833 (patch)
tree2887f1de3240eb201a8fc6a8a7303bab62e01224 /perl-install/install/gtk.pm
parentd7ac77de51dbedb8e4b401e4233c48d9996224e5 (diff)
downloaddrakx-059c4e9ce898e59ac9a812c403be88439a139833.tar
drakx-059c4e9ce898e59ac9a812c403be88439a139833.tar.gz
drakx-059c4e9ce898e59ac9a812c403be88439a139833.tar.bz2
drakx-059c4e9ce898e59ac9a812c403be88439a139833.tar.xz
drakx-059c4e9ce898e59ac9a812c403be88439a139833.zip
(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")
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r--perl-install/install/gtk.pm3
1 files changed, 1 insertions, 2 deletions
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),
],