From 6d317d300cc30ea6582ff05ea290329ba0bffc90 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 19 Aug 2013 13:07:04 +0200 Subject: [PATCH] Mark call notifications as critical So that we are notified about incoming calls even while busy. https://bugzilla.gnome.org/show_bug.cgi?id=666221 Signed-off-by: Emilio Pozuelo Monfort --- js/ui/components/telepathyClient.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 72bc0104b..48dbae683 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -1135,6 +1135,8 @@ const AudioVideoNotification = new Lang.Class({ this.parent(source, title, null, { customContent: true }); this.setResident(true); + this.setUrgency(MessageTray.Urgency.CRITICAL); + this.addButton('reject', _("Decline")); /* translators: this is a button label (verb), not a noun */ this.addButton('answer', _("Answer"));