Skip to content

Commit daf9c41

Browse files
committed
Volume: do not add notification sound when beep ourselves.
1 parent 9237594 commit daf9c41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

applets/volume/volume.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ public class VolumeIconExporter : ItemExporter
225225
notification.val = (int) level;
226226
notification.app_icon = lookup_current_icon((long) level);
227227
notification.title = tool_tip.title;
228+
#if !CANBERRA
228229
notification.sound_name = "audio-volume-change";
230+
#endif
229231
notification.send();
230232
}
231233
}

0 commit comments

Comments
 (0)