From 6420262e28f78823c97d480f7595c7240808a9d4 Mon Sep 17 00:00:00 2001 From: rlatosky Date: Sun, 2 Jun 2024 00:27:54 -0400 Subject: [PATCH] sound@cinnamon.org: Prevent Muffin from creating sound streams in volume mixer in sound applet --- .../share/cinnamon/applets/sound@cinnamon.org/applet.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js index 0ccc28a5b9..dcfc426c81 100644 --- a/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js +++ b/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js @@ -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); + } } }