summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-20 08:53:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-20 08:53:31 +0000
commitf429b9881d47f6ab882f71ef95e965d32484d37d (patch)
tree08bbfc08ebbb8e44ce68f51b8ff9b380b5250e72 /perl-install/ugtk2.pm
parent823b9822f3ffcb02449611e53b33fc161af67707 (diff)
downloaddrakx-f429b9881d47f6ab882f71ef95e965d32484d37d.tar
drakx-f429b9881d47f6ab882f71ef95e965d32484d37d.tar.gz
drakx-f429b9881d47f6ab882f71ef95e965d32484d37d.tar.bz2
drakx-f429b9881d47f6ab882f71ef95e965d32484d37d.tar.xz
drakx-f429b9881d47f6ab882f71ef95e965d32484d37d.zip
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
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index dfa848a38..29f0b4767 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -930,7 +930,7 @@ sub new {
}
sub set_main_window_size {
my ($o) = @_;
- my ($width, $height) = $::isInstall ? (576, 418) : $o->{isWizard} ? (540, 360) : (600, 400);
+ my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $o->{isWizard} ? (540, 360) : (600, 400);
$o->{window}->set_size_request($width, $height);
}