summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2011-04-20 23:34:53 +0000
committerAnssi Hannula <anssi@mandriva.org>2011-04-20 23:34:53 +0000
commit47de75a92d66637cea2d7ad7b4e5837dd5756d74 (patch)
tree0f6899d5e72e48ebfd17847919d47d5d6ea460d1
parentc647d61c5df99e338066a972642d53bece120ef2 (diff)
downloaddrakx-47de75a92d66637cea2d7ad7b4e5837dd5756d74.tar
drakx-47de75a92d66637cea2d7ad7b4e5837dd5756d74.tar.gz
drakx-47de75a92d66637cea2d7ad7b4e5837dd5756d74.tar.bz2
drakx-47de75a92d66637cea2d7ad7b4e5837dd5756d74.tar.xz
drakx-47de75a92d66637cea2d7ad7b4e5837dd5756d74.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 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;