Skip to content

Commit 9211ead

Browse files
committed
sound applet: Fix album-art never reappearing after changing volume.
This was a regression introduced in f2c054e - this.stream is never defined. Fixes #13240.
1 parent 673dc2e commit 9211ead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/usr/share/cinnamon/applets/[email protected]/applet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ class CinnamonSoundApplet extends Applet.TextIconApplet {
12991299
if (source === "output") {
13001300
// if we have an active player, but are changing the volume, show the output icon and after three seconds change back to the player icon unless muted
13011301
this.set_applet_icon_symbolic_name(this._outputIcon);
1302-
if (this.stream && !this.stream.is_muted) {
1302+
if (this._output && !this._output.is_muted) {
13031303
this._iconTimeoutId = Mainloop.timeout_add_seconds(OUTPUT_ICON_SHOW_TIME_SECONDS, () => {
13041304
this.setIcon();
13051305
});

0 commit comments

Comments
 (0)