summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-23 07:19:19 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-23 07:19:19 +0000
commitcd0b05398e0a3e9e1c61699e1b224faa63c56eb4 (patch)
tree25803d8de61862cf47f881ee0c72635d123f2aad /perl-install
parent8008dcc21de9f12627af2968feb0ed7abea64b76 (diff)
downloaddrakx-cd0b05398e0a3e9e1c61699e1b224faa63c56eb4.tar
drakx-cd0b05398e0a3e9e1c61699e1b224faa63c56eb4.tar.gz
drakx-cd0b05398e0a3e9e1c61699e1b224faa63c56eb4.tar.bz2
drakx-cd0b05398e0a3e9e1c61699e1b224faa63c56eb4.tar.xz
drakx-cd0b05398e0a3e9e1c61699e1b224faa63c56eb4.zip
ask for bootloader choice when framebuffer isn't configured (fix bug 9925)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakboot11
1 files changed, 8 insertions, 3 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index d69a41607..48cecc014 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -151,9 +151,14 @@ gtkadd($window,
clicked => sub {
$splash_mode = !$splash_mode;
if ($boot_warn && $no_bootsplash && $splash_mode) {
- $in->ask_warn(N("Warning"),
- [ N("Your system bootloader is not in framebuffer mode. To activate graphical boot, select a graphic video mode from the bootloader configuration tool.") ]);
- $boot_warn = 0
+ if ($in->ask_yesorno(N("Warning"),
+ [ N("Your system bootloader is not in framebuffer mode. To activate graphical boot, select a graphic video mode from the bootloader configuration tool.") . "\n" .
+ N("Do you want to configure it now ?") ])) {
+ lilo_choice();
+ #- it would be nice to get available themes for new cur_res here
+ $splash_mode = 1
+ };
+ $boot_warn = 0
}
$splash_box->set_sensitive($splash_mode);
}),