aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele <miguel2000@livecom.it>2018-10-12 20:49:44 +0200
committerRobert Tari <robert@tari.in>2021-08-12 02:25:11 +0200
commitc36481db52bbc4e1c5a62a4e9e59fabed7d1e61d (patch)
tree8ac06f4f48df4fcc8c88a6a1f30b5099236f879c
parent0cb52451f652d3909c839062aa56e27700fd3034 (diff)
downloadayatana-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
-rw-r--r--src/info-notification.vala5
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 "";