From cd0b05398e0a3e9e1c61699e1b224faa63c56eb4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 23 Jun 2004 07:19:19 +0000 Subject: ask for bootloader choice when framebuffer isn't configured (fix bug 9925) --- perl-install/standalone/drakboot | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'perl-install') 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); }), -- cgit v1.2.1