gnome-shell/js/ui/status
Iain Lane e6dec7a9dd
volume: Ignore slider changes we initiated ourselves
Commit 21e14bd46f fixed this for the
brightness slider, but we have the same problem for volume too. When the
volume is muted - for example in Settings or via a media key, we update
the slider to '0' to indicate this visually. But we also actually invoke
the slider's callback to *set* the volume to zero. That means that the
previous level is overwritten so it can't be restored when unmuting.

The fix is the same - when we update the slider internally ourselves,
don't call the signal handler.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1557
2019-09-05 11:30:33 +01:00
..
accessibility.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
bluetooth.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
brightness.js brightness: Ignore slider changes we initiated ourselves 2019-08-13 16:35:17 +02:00
dwellClick.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
keyboard.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
location.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
network.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
nightLight.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
power.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
remoteAccess.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
rfkill.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
screencast.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
system.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
thunderbolt.js cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
volume.js volume: Ignore slider changes we initiated ourselves 2019-09-05 11:30:33 +01:00