on xenial help sign in
Rename the item to Notification too
137a880Albert Astals Cid
qml/Components/AlarmAudio.qml → qml/Components/NotificationAudio.qmlrenamed

The content is the same.

qml/Components/ScreenGrabber.qml+1−1
@@ -37,7 +37,7 @@ Rectangle {
37 onTriggered: capture()
37 onTriggered: capture()
38 }
38 }
39
39
40− AlarmAudio {
40+ NotificationAudio {
41 id: shutterSound
41 id: shutterSound
42 source: "/system/media/audio/ui/camera_click.ogg"
42 source: "/system/media/audio/ui/camera_click.ogg"
43 }
43 }
qml/Notifications/Notification.qml+1−1
@@ -80,7 +80,7 @@ Item {
80 return result;
80 return result;
81 }
81 }
82
82
83− AlarmAudio {
83+ NotificationAudio {
84 id: sound
84 id: sound
85 objectName: "sound"
85 objectName: "sound"
86 source: hints["suppress-sound"] !== "true" && hints["sound-file"] !== undefined ? hints["sound-file"] : ""
86 source: hints["suppress-sound"] !== "true" && hints["sound-file"] !== undefined ? hints["sound-file"] : ""