aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/service.vala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/service.vala b/src/service.vala
index f17d799..a69e231 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -239,12 +239,10 @@ public class IndicatorSound.Service: Object {
void update_root_icon () {
double volume = this.volume_control.volume.volume;
string icon;
- if (this.volume_control.mute)
+ if (this.volume_control.mute || volume <= 0.0)
icon = this.mute_blocks_sound ? "audio-volume-muted-blocking-panel" : "audio-volume-muted-panel";
else if (this.accounts_service != null && this.accounts_service.silentMode)
- icon = "audio-volume-muted-panel";
- else if (volume <= 0.0)
- icon = "audio-volume-low-zero-panel";
+ icon = "audio-volume-muted-panel";
else if (volume <= 0.3)
icon = "audio-volume-low-panel";
else if (volume <= 0.7)