diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_gtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index e07825ae0..9884418fc 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -142,7 +142,7 @@ sub create_steps_window { $_[0]) or die; $darea->window->draw_pixmap ($darea->style->bg_gc('normal'), $pixmap, 0, 0, - ($darea->allocation->[2]-$PIX_W)/2 + $o->{meta_class} eq 'firewall' ? 3 : 0, + ($darea->allocation->[2]-$PIX_W)/2 + ($o->{meta_class} eq 'firewall' ? 3 : 0), ($darea->allocation->[3]-$PIX_H)/2, $PIX_W , $PIX_H ); }; @@ -152,7 +152,7 @@ sub create_steps_window { my $color = $step->{done} ? 'green' : $step->{entered} ? 'orange' : 'red'; "$ENV{SHARE_PATH}/step-$color$type.xpm"; }; - $darea->set_usize($PIX_W+$o->{meta_class} eq 'firewall' ? 3 : 0,$PIX_H); + $darea->set_usize($PIX_W+($o->{meta_class} eq 'firewall' ? 3 : 0),$PIX_H); $darea->set_events(['exposure_mask', 'enter_notify_mask', 'leave_notify_mask', 'button_press_mask', 'button_release_mask' ]); $darea->signal_connect(expose_event => sub { $draw_pix->($f->('')) }); if ($step->{reachable}) { |