diff options
author | Michele <miguel2000@livecom.it> | 2018-10-12 20:49:44 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-08-12 02:25:11 +0200 |
commit | c36481db52bbc4e1c5a62a4e9e59fabed7d1e61d (patch) | |
tree | 8ac06f4f48df4fcc8c88a6a1f30b5099236f879c /src | |
parent | 0cb52451f652d3909c839062aa56e27700fd3034 (diff) | |
download | ayatana-indicator-sound-c36481db52bbc4e1c5a62a4e9e59fabed7d1e61d.tar.gz ayatana-indicator-sound-c36481db52bbc4e1c5a62a4e9e59fabed7d1e61d.tar.bz2 ayatana-indicator-sound-c36481db52bbc4e1c5a62a4e9e59fabed7d1e61d.zip |
bluetooth dedicated icons in notifications
the icon in notifications is now a bluetooth specific one if audio is over a bt device
Diffstat (limited to 'src')
-rw-r--r-- | src/info-notification.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/info-notification.vala b/src/info-notification.vala index e093aae..4ddd814 100644 --- a/src/info-notification.vala +++ b/src/info-notification.vala @@ -82,13 +82,14 @@ public class IndicatorSound.InfoNotification: Notification switch (active_output) { case VolumeControl.ActiveOutput.SPEAKERS: case VolumeControl.ActiveOutput.HEADPHONES: - case VolumeControl.ActiveOutput.BLUETOOTH_HEADPHONES: - case VolumeControl.ActiveOutput.BLUETOOTH_SPEAKER: case VolumeControl.ActiveOutput.USB_SPEAKER: case VolumeControl.ActiveOutput.USB_HEADPHONES: case VolumeControl.ActiveOutput.HDMI_SPEAKER: case VolumeControl.ActiveOutput.HDMI_HEADPHONES: return "audio-volume-high"; + case VolumeControl.ActiveOutput.BLUETOOTH_HEADPHONES: + case VolumeControl.ActiveOutput.BLUETOOTH_SPEAKER: + return "audio-speakers-bluetooth-symbolic"; default: return ""; |