From 159bb830dffc2d3bf0250bafcb41c61eebaca799 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Wed, 20 Apr 2011 23:32:54 +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(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 0bb7b76cc..29efcc48f 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.48 - 17 April 2011 diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index fec9d8a72..e42b82bc1 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