diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-01-17 15:15:33 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-01-17 15:15:33 +0100 |
commit | 69fe621215029a3dd3ee390b2deb68e915c8df12 (patch) | |
tree | c0f3e97c445dba3f5150d91784a60e0a7f7d0427 /src | |
parent | e9b738bf4e0efa26c2d2a3061919728dcaeea33e (diff) | |
parent | 456cbf253801b2d7536d790a034c9b44d910a5a9 (diff) | |
download | ayatana-indicator-sound-69fe621215029a3dd3ee390b2deb68e915c8df12.tar.gz ayatana-indicator-sound-69fe621215029a3dd3ee390b2deb68e915c8df12.tar.bz2 ayatana-indicator-sound-69fe621215029a3dd3ee390b2deb68e915c8df12.zip |
Merge branch 'ubports-personal/peat-psuwit/upstream_-_volume-notification-lomiri'
Attributes GH PR #90: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/90
Diffstat (limited to 'src')
-rw-r--r-- | src/info-notification.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/info-notification.vala b/src/info-notification.vala index ce92a2a..bd43a91 100644 --- a/src/info-notification.vala +++ b/src/info-notification.vala @@ -30,7 +30,7 @@ public class IndicatorSound.InfoNotification: Notification public void show (VolumeControl.ActiveOutput active_output, double volume, bool is_high_volume) { - if (!notify_server_supports ("x-canonical-private-synchronous")) + if (!notify_server_supports ("x-lomiri-private-synchronous")) return; /* Determine Label */ @@ -44,7 +44,7 @@ public class IndicatorSound.InfoNotification: Notification n.update (_("Volume"), volume_label, icon); n.clear_hints(); n.set_hint ("x-lomiri-non-shaped-icon", "true"); - n.set_hint ("x-canonical-private-synchronous", "true"); + n.set_hint ("x-lomiri-private-synchronous", "true"); 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 (); |