diff options
author | Anssi Hannula <anssi@mageia.org> | 2011-04-20 23:32:54 +0000 |
---|---|---|
committer | Anssi Hannula <anssi@mageia.org> | 2011-04-20 23:32:54 +0000 |
commit | 479f620ed8357b8d4e20ad2e719ee67d94b76a06 (patch) | |
tree | 13af228d010c8b711b4190c05aaacec5c72bb6fb | |
parent | 1ce1be1f7b16c378de6b4eb4605b40374bece003 (diff) | |
download | drakx-backup-do-not-use-479f620ed8357b8d4e20ad2e719ee67d94b76a06.tar drakx-backup-do-not-use-479f620ed8357b8d4e20ad2e719ee67d94b76a06.tar.gz drakx-backup-do-not-use-479f620ed8357b8d4e20ad2e719ee67d94b76a06.tar.bz2 drakx-backup-do-not-use-479f620ed8357b8d4e20ad2e719ee67d94b76a06.tar.xz drakx-backup-do-not-use-479f620ed8357b8d4e20ad2e719ee67d94b76a06.zip |
service_harddrake: show yes/no buttons instead of ok/cancel when asking
about running a config tool
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
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; |