summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-28 21:12:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-28 21:12:53 +0000
commit05361f3089e05b7f62166f93d2c2b85e97be0bed (patch)
tree26311bdc616bb43e9ecd6cab4ca5aca8e092d014 /perl-install/standalone
parentc508e1f824f356fe105c587df6c329b0cc37c00c (diff)
downloaddrakx-backup-do-not-use-05361f3089e05b7f62166f93d2c2b85e97be0bed.tar
drakx-backup-do-not-use-05361f3089e05b7f62166f93d2c2b85e97be0bed.tar.gz
drakx-backup-do-not-use-05361f3089e05b7f62166f93d2c2b85e97be0bed.tar.bz2
drakx-backup-do-not-use-05361f3089e05b7f62166f93d2c2b85e97be0bed.tar.xz
drakx-backup-do-not-use-05361f3089e05b7f62166f93d2c2b85e97be0bed.zip
keep around global variable
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksplash3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash
index a4477ac76..576e2b447 100755
--- a/perl-install/standalone/draksplash
+++ b/perl-install/standalone/draksplash
@@ -10,6 +10,7 @@ use interactive;
use bootsplash;
my $in = 'interactive'->vnew('su');
+my $global_width = 500;
$in->do_pkgs->ensure_is_installed('ImageMagick', '/usr/bin/convert') or close_all();
$in->do_pkgs->ensure_is_installed('netpbm', '/usr/bin/jpegtopnm') or close_all();
@@ -116,7 +117,7 @@ gtkadd($window->{window},
gtknew('Button', text => N("Quit"), clicked => \&close_all)])])),
gtkshow(gtkadd($preview_window->{window}, $scroll));
-$window->{rwindow}->set_size_request(500, -1);
+$window->{rwindow}->set_size_request($global_width, -1);
$window->{rwindow}->set_border_width(5);
$window->{rwindow}->set_position('center');
$window->{rwindow}->show_all;