summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-11 15:45:20 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-11 15:45:20 +0000
commit8cf3586519ca3e32460dabdad1606075cf521d5c (patch)
treec621fddee23f7facb671488cb93ee8f255672850 /perl-install
parentd565c7aff96085173d463e208b661b7d77492ea5 (diff)
downloaddrakx-8cf3586519ca3e32460dabdad1606075cf521d5c.tar
drakx-8cf3586519ca3e32460dabdad1606075cf521d5c.tar.gz
drakx-8cf3586519ca3e32460dabdad1606075cf521d5c.tar.bz2
drakx-8cf3586519ca3e32460dabdad1606075cf521d5c.tar.xz
drakx-8cf3586519ca3e32460dabdad1606075cf521d5c.zip
(switch) enable to reset the sound mixer to default values
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/harddrake/sound.pm5
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 87b894d7a..9e328e939 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -5,6 +5,7 @@
o add support to enable/disable PulseAudio
o add support to enable/disable user switching
o display trouble shooting when there's no driver too
+ o enable to reset the sound mixer to default values
- cpufreq: fix gsx-suspmod probe
- scannerdrake: fix to open usbtable.gz instead of usbtable
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 3f78815c5..5e706c486 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -315,6 +315,11 @@ sub switch {
},
{
advanced => 1,
+ val => N("Reset sound mixer to default values"),
+ clicked => sub { run_program::run('reset_sound') }
+ },
+ {
+ advanced => 1,
val => N("Trouble shooting"), disabled => sub {},
clicked => sub { &trouble($in) }
},