diff options
author | Robert Tari <robert@tari.in> | 2021-11-03 20:07:08 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-11-08 12:47:19 +0100 |
commit | 99e774d52a1095df0415b0906a9622f3ff9e9229 (patch) | |
tree | 6a7046b16f4902bd15f822480e6a71709415e052 /src | |
parent | e99439d16902e186142a3a21286c38544d481344 (diff) | |
download | ayatana-indicator-sound-99e774d52a1095df0415b0906a9622f3ff9e9229.tar.gz ayatana-indicator-sound-99e774d52a1095df0415b0906a9622f3ff9e9229.tar.bz2 ayatana-indicator-sound-99e774d52a1095df0415b0906a9622f3ff9e9229.zip |
Rename x-canonical-value-bar-tint
Diffstat (limited to 'src')
-rw-r--r-- | src/info-notification.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/info-notification.vala b/src/info-notification.vala index 7e7e372..c5f8fd8 100644 --- a/src/info-notification.vala +++ b/src/info-notification.vala @@ -1,5 +1,6 @@ /* * Copyright 2015 Canonical Ltd. + * Copyright 2021 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,6 +16,7 @@ * * Authors: * Charles Kerr <charles.kerr@canonical.com> + * Robert Tari <robert@tari.in> */ using Notify; @@ -43,7 +45,7 @@ public class IndicatorSound.InfoNotification: Notification n.clear_hints(); n.set_hint ("x-ayatana-non-shaped-icon", "true"); n.set_hint ("x-canonical-private-synchronous", "true"); - n.set_hint ("x-canonical-value-bar-tint", is_high_volume ? "true" : "false"); + n.set_hint ("x-ayatana-value-bar-tint", is_high_volume ? "true" : "false"); n.set_hint ("value", ((int32)((volume * 100.0) + 0.5)).clamp(0, 100)); show_notification (); } |