summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-14 13:23:11 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-14 13:23:11 +0000
commit91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d (patch)
treeb6fde2c6db509fbae2251250c2cc84f8580d7693 /perl-install/install_gtk.pm
parentaecd1fd020ea85226f62772701e3e612ca49b6fb (diff)
downloaddrakx-91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d.tar
drakx-91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d.tar.gz
drakx-91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d.tar.bz2
drakx-91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d.tar.xz
drakx-91d2ba7b2e26b2ea7853d945be4ee17bd5fbad9d.zip
cleanup
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index b3857dea7..810ecdea7 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -86,9 +86,6 @@ widget "*" style "default-font"
));
gtkset_background(@background) unless $::live; #- || testing;
-
- create_logo_window($o);
-# create_help_window($o);
}
#------------------------------------------------------------------------------
@@ -119,7 +116,7 @@ sub create_steps_window {
my $w = bless {}, 'ugtk2';
$w->{rwindow} = $w->{window} = Gtk2::Window->new('toplevel');
$w->{rwindow}->set_uposition(8, 160);
- $w->{rwindow}->set_size_request($::stepswidth, $::stepsheight);
+ $w->{rwindow}->set_size_request($::stepswidth, -1);
$w->{rwindow}->set_name('Steps');
$w->{rwindow}->set_title('skip');
@@ -197,7 +194,7 @@ sub init_sizes() {
($::rootwidth, $::rootheight) = (Gtk2::Gdk->screen_width, Gtk2::Gdk->screen_height);
$::live and $::rootheight -= 80;
#- ($::rootheight, $::rootwidth) = (min(768, $::rootheight), min(1024, $::rootwidth));
- ($::stepswidth, $::stepsheight) = $::rootwidth <= 640 ? (0, 0) : (160, $::rootheight);
+ $::stepswidth = $::rootwidth <= 640 ? 0 : 160;
($::logowidth, $::logoheight) = $::rootwidth <= 640 ? (0, 0) : (500, 40);
($::helpwidth, $::helpheight) = ($::rootwidth - $::stepswidth, 0);
($::windowwidth, $::windowheight) = ($::rootwidth - $::stepswidth, $::rootheight - $::helpheight - $::logoheight);