diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index b956db06c..a1b76ab15 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -732,7 +732,8 @@ const GtkNotificationDaemonNotification = new Lang.Class({ "default-action": defaultAction, "default-action-target": defaultActionTarget } = notification; - this.setUrgency(urgent ? MessageTray.Urgency.CRITICAL : MessageTray.Urgency.NORMAL); + this.setUrgency(urgent.unpack() ? MessageTray.Urgency.CRITICAL + : MessageTray.Urgency.NORMAL); if (buttons) { buttons.deep_unpack().forEach(Lang.bind(this, function(button) {