From f429b9881d47f6ab882f71ef95e965d32484d37d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 20 Feb 2004 08:53:31 +0000 Subject: don't force buttons a size related to $::windowwidth since this is no more used to size the main window (fixes missing Next button in vgahi), use a global $::real_windowwidth for sizings related to the main window --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive/gtk.pm') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 37e427f7f..d34e9a5f4 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -662,7 +662,7 @@ sub ask_fromW { if ($buttons_pack) { if ($::isWizard && !$mainw->{pop_it} && $::isInstall) { #- is this still needed? - $buttons_pack->set_size_request($::windowwidth * 0.9 - 20, -1); + $buttons_pack->set_size_request($::real_windowwidth - 20, -1); $buttons_pack = gtkpack__(Gtk2::HBox->new(0,0), $buttons_pack); } $pack->pack_start(gtkshow($buttons_pack), 0, 0, 0); -- cgit v1.2.1