Skip to content

Commit 2d11b4f

Browse files
authored
Add support for notification spec 1.3 (#259)
1 parent 090cc4b commit 2d11b4f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/DBus.vala

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public class Notifications.Server : Object {
8888
name = "io.elementary.notifications";
8989
vendor = "elementaryOS";
9090
version = "0.1";
91-
spec_version = "1.2";
91+
spec_version = "1.3";
9292
}
9393

9494
public new uint32 notify (
@@ -237,6 +237,18 @@ public class Notifications.Server : Object {
237237
unowned string sound;
238238

239239
switch (category) {
240+
case "call":
241+
sound = "dialog-information";
242+
break;
243+
case "call.ended":
244+
sound = "phone-hangup";
245+
break;
246+
case "call.incoming":
247+
sound = "phone-incoming-call";
248+
break;
249+
case "call.unanswered":
250+
sound = "phone-outgoing-busy";
251+
break;
240252
case "device.added":
241253
sound = "device-added";
242254
break;

0 commit comments

Comments
 (0)