From 47de75a92d66637cea2d7ad7b4e5837dd5756d74 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Wed, 20 Apr 2011 23:34:53 +0000 Subject: service_harddrake: show yes/no buttons instead of ok/cancel when asking about running a config tool --- perl-install/NEWS | 2 ++ perl-install/standalone/service_harddrake | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 2b3a29b40..cbeaceb95 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,8 @@ - service_harddrake: o load new drivers or ask for reboot also if the driver is switched due to a hardware change instead of an ldetect-lst change + o show yes/no buttons instead of ok/cancel when asking about running a + config tool Version 13.45 - 17 April 2011 diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index a0b87e62e..0aac7e3f1 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -395,7 +395,7 @@ foreach my $hw_class (@harddrake::data::tree) { $hw_class->{automatic} ||= ref($configurator) eq 'CODE'; if (!$hw_class->{automatic}) { - ($res, $no) = dialog_with_timeout("okcancel", N("Hardware changes in \"%s\" class (%s seconds to answer)", $Ident, $timeout), + ($res, $no) = dialog_with_timeout("yesorno", N("Hardware changes in \"%s\" class (%s seconds to answer)", $Ident, $timeout), $msg . N("Do you want to run the appropriate config tool?"), $timeout, $plymouth); } else { $res = 1; -- cgit v1.2.1