diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index d75224f7f..214315cc1 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -582,7 +582,7 @@ const FdoNotificationDaemonSource = new Lang.Class({ }, _createPolicy: function() { - if (this.app) { + if (this.app && this.app.get_app_info()) { let id = this.app.get_id().replace(/\.desktop$/,''); return new MessageTray.NotificationApplicationPolicy(id); } else {