diff options
author | Robert Tari <robert@tari.in> | 2021-11-09 01:40:04 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-11-09 16:07:15 +0100 |
commit | e441bef2235826e390b9a988eeb34f11c6b74df4 (patch) | |
tree | 93880c615ef9debc28d5f0076514350ab87c63fe /src | |
parent | 6109683e3aec0559320eb604bca7b8a809b295fd (diff) | |
download | ayatana-indicator-sound-e441bef2235826e390b9a988eeb34f11c6b74df4.tar.gz ayatana-indicator-sound-e441bef2235826e390b9a988eeb34f11c6b74df4.tar.bz2 ayatana-indicator-sound-e441bef2235826e390b9a988eeb34f11c6b74df4.zip |
Rename Lomiri-specific properties to x-lomiri
Diffstat (limited to 'src')
-rw-r--r-- | src/info-notification.vala | 4 | ||||
-rw-r--r-- | src/warn-notification.vala | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/info-notification.vala b/src/info-notification.vala index c5f8fd8..ce92a2a 100644 --- a/src/info-notification.vala +++ b/src/info-notification.vala @@ -43,9 +43,9 @@ public class IndicatorSound.InfoNotification: Notification var n = _notification; n.update (_("Volume"), volume_label, icon); n.clear_hints(); - n.set_hint ("x-ayatana-non-shaped-icon", "true"); + n.set_hint ("x-lomiri-non-shaped-icon", "true"); n.set_hint ("x-canonical-private-synchronous", "true"); - n.set_hint ("x-ayatana-value-bar-tint", is_high_volume ? "true" : "false"); + n.set_hint ("x-lomiri-value-bar-tint", is_high_volume ? "true" : "false"); n.set_hint ("value", ((int32)((volume * 100.0) + 0.5)).clamp(0, 100)); show_notification (); } diff --git a/src/warn-notification.vala b/src/warn-notification.vala index 3c473d3..6a08431 100644 --- a/src/warn-notification.vala +++ b/src/warn-notification.vala @@ -31,9 +31,9 @@ public class IndicatorSound.WarnNotification: Notification _("Volume"), _("Allow volume above safe level?\nHigh volume can damage your hearing."), "audio-volume-high"); - n.set_hint ("x-ayatana-non-shaped-icon", "true"); - n.set_hint ("x-ayatana-snap-decisions", "true"); - n.set_hint ("x-ayatana-private-affirmative-tint", "true"); + n.set_hint ("x-lomiri-non-shaped-icon", "true"); + n.set_hint ("x-lomiri-snap-decisions", "true"); + n.set_hint ("x-lomiri-private-affirmative-tint", "true"); n.closed.connect ((n) => { n.clear_actions (); }); |