From 89bdf3a90fb92c4794d7b25f286d34dbc4093d88 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 3 Nov 2021 20:07:08 +0100 Subject: Rename x-canonical-value-bar-tint --- src/info-notification.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 + * Robert Tari */ 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 (); } -- cgit v1.2.3