Skip to content
Permalink
Browse files

media-keys: Don't show a level when muted

As discussed in:
https://bugzilla.gnome.org/show_bug.cgi?id=644537#c4

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
  • Loading branch information...
zhangxianwei8 committed Nov 20, 2018
1 parent d01bc10 commit 62299ac839240f9816645523fb2b31bb7977864c
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/media-keys/msd-media-keys-manager.c
@@ -636,6 +636,9 @@ update_dialog (MsdMediaKeysManager *manager,
gboolean muted,
gboolean sound_changed)
{
if (muted)
volume = 0.0;

dialog_init (manager);

msd_media_keys_window_set_volume_muted (MSD_MEDIA_KEYS_WINDOW (manager->priv->dialog),

0 comments on commit 62299ac

Please sign in to comment.
You can’t perform that action at this time.