Revert "status/volume: Clear device menus when unsetting stream"
Device additions/removals are tracked by GvcMixerControl, which
doesn't change when unsetting the stream. So clearing the menu
manually was a workaround, not a fix.
It's also worth noting that I failed to reproduce the original
issue again, so it's possible that we were working around a
pipewire bug that has since been fixed.
This reverts commit 1b62b7ea0a
.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2616>
This commit is contained in:
parent
0957675ce4
commit
3de828cc60
@ -83,8 +83,6 @@ const StreamSlider = GObject.registerClass({
|
|||||||
this._connectStream(this._stream);
|
this._connectStream(this._stream);
|
||||||
this._updateVolume();
|
this._updateVolume();
|
||||||
} else {
|
} else {
|
||||||
this._deviceSection.removeAll();
|
|
||||||
this._deviceItems.clear();
|
|
||||||
this.emit('stream-updated');
|
this.emit('stream-updated');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user