Blame SOURCES/0001-status-volume-Hide-sliders-initially.patch

6f08de
From 4e555e0efeb4b31918e199d29bee99b2a4ed1c8e Mon Sep 17 00:00:00 2001
6f08de
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
6f08de
Date: Wed, 11 May 2022 02:34:21 +0200
6f08de
Subject: [PATCH] status/volume: Hide sliders initially
6f08de
6f08de
We update the visibility on state or stream changes, but those
6f08de
changes may never happen if pipewire-pulse/pulseaudio isn't
6f08de
available (for example when running as root).
6f08de
6f08de
Hiding the sliders is preferable in that case to showing non-working
6f08de
controls.
6f08de
---
6f08de
 js/ui/status/volume.js | 1 +
6f08de
 1 file changed, 1 insertion(+)
6f08de
6f08de
diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js
6f08de
index d555b426e..ab5065683 100644
6f08de
--- a/js/ui/status/volume.js
6f08de
+++ b/js/ui/status/volume.js
6f08de
@@ -30,6 +30,7 @@ var StreamSlider = class {
6f08de
         this._control = control;
6f08de
 
6f08de
         this.item = new PopupMenu.PopupBaseMenuItem({ activate: false });
6f08de
+        this.item.actor.hide();
6f08de
 
6f08de
         this._slider = new Slider.Slider(0);
6f08de
 
6f08de
-- 
6f08de
2.35.1
6f08de