From f12dedeffc187e863999f266e7895ba316fcc816 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 19 Aug 2008 14:33:21 +0000 Subject: (init_sizes,_create_Window) do not account anymore logo size when computing positions since it's now included in steps box --- perl-install/mygtk2.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/mygtk2.pm') diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index d9e987c00..722952025 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -991,7 +991,7 @@ sub _create_Window { if_($::isInstall, position => [ $::rootwidth + $::stepswidth - ($::o->{windowwidth} + $::real_windowwidth) / 2, - $::logoheight + ($::o->{windowheight} - $::real_windowheight) / 2, + ($::o->{windowheight} - $::real_windowheight) / 2, ]), }); my $w = _gtk(undef, 'Window', 'gtknew', $opts); @@ -1031,7 +1031,7 @@ sub _create_Window { (undef, undef, $wi, $he) = @w_size; $w->move(max(0, $::rootwidth - ($::o->{windowwidth} + $wi) / 2), - max(0, $::logoheight + ($::o->{windowheight} - $he) / 2)); + max(0, ($::o->{windowheight} - $he) / 2)); }); #- without this, the focus is broken during install, though this is not needed during X test, why?? $w->show; -- cgit v1.2.1