[gnome-settings-daemon] media-keys: Make volume down when muted work



commit 41f6f61344d9f20745771ed8db6d0e516462a3f3
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Nov 10 18:05:39 2010 +0000

    media-keys: Make volume down when muted work
    
    It will not change the mute status, but it will change the volume,
    so you can lower the volume before unmuting.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=603312

 plugins/media-keys/gsd-media-keys-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 38f36ee..d2b3612 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -654,7 +654,7 @@ do_sound_action (GsdMediaKeysManager *manager,
                                 gvc_mixer_stream_push_volume (manager->priv->stream);
                                 sound_changed = TRUE;
                         }
-                } else if (!muted) {
+                } else {
                         vol = vol - norm_vol_step;
                         if (gvc_mixer_stream_set_volume (manager->priv->stream, vol) != FALSE) {
                                 gvc_mixer_stream_push_volume (manager->priv->stream);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]