summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
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/interactive
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/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
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);