Skip to content

Commit

Permalink
Merge pull request #12218 from rlatosky/sound-applet-muffin-scroll-wh…
Browse files Browse the repository at this point in the history
…eel-fix

sound@cinnamon.org: Prevent Muffin from showing up in volume mixer (Fixes: #11847)
  • Loading branch information
claudiux authored Jun 2, 2024
2 parents bc9b012 + 6420262 commit 7b56fbc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,12 @@ class StreamMenuSection extends PopupMenu.PopupMenuSection {
iconName = "audio-x-generic";
}

let slider = new VolumeSlider(applet, stream, name, iconName);
slider._slider.style = "min-width: 6em;";
this.addMenuItem(slider);
// Prevent Muffin from spawning sound streams
if (name !== "Muffin") {
let slider = new VolumeSlider(applet, stream, name, iconName);
slider._slider.style = "min-width: 6em;";
this.addMenuItem(slider);
}
}
}

Expand Down

0 comments on commit 7b56fbc

Please sign in to comment.