summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-12-06 18:59:11 +0000
committerdamien <damien@mandriva.com>2000-12-06 18:59:11 +0000
commit4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9 (patch)
tree3cd4ef4ad7b4fc0fc00b86d7577abb5be8e50e10
parentf5848b5dbc04d060fdd95e533d9e5154ad7da774 (diff)
downloaddrakx-4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9.tar
drakx-4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9.tar.gz
drakx-4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9.tar.bz2
drakx-4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9.tar.xz
drakx-4ea233882d04f5f6b4e2bf732d9c147a95c0c4f9.zip
left pixmap centered if firewall
-rw-r--r--perl-install/install_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 5cbf69189..e07825ae0 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,
+ ($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,$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}) {