summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mageia.org>2011-04-20 23:32:54 +0000
committerAnssi Hannula <anssi@mageia.org>2011-04-20 23:32:54 +0000
commit159bb830dffc2d3bf0250bafcb41c61eebaca799 (patch)
tree13af228d010c8b711b4190c05aaacec5c72bb6fb
parent681c38ee8d1c313431c93a00f6814cad37d3d7f0 (diff)
downloaddrakx-159bb830dffc2d3bf0250bafcb41c61eebaca799.tar
drakx-159bb830dffc2d3bf0250bafcb41c61eebaca799.tar.gz
drakx-159bb830dffc2d3bf0250bafcb41c61eebaca799.tar.bz2
drakx-159bb830dffc2d3bf0250bafcb41c61eebaca799.tar.xz
drakx-159bb830dffc2d3bf0250bafcb41c61eebaca799.zip
service_harddrake: show yes/no buttons instead of ok/cancel when asking
about running a config tool
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/service_harddrake2
2 files changed, 3 insertions, 1 deletions
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;