diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-28 21:12:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-28 21:12:53 +0000 |
commit | 05361f3089e05b7f62166f93d2c2b85e97be0bed (patch) | |
tree | 26311bdc616bb43e9ecd6cab4ca5aca8e092d014 /perl-install/standalone | |
parent | c508e1f824f356fe105c587df6c329b0cc37c00c (diff) | |
download | drakx-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-x | perl-install/standalone/draksplash | 3 |
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; |