From 5f9e3edbe1f84684f849d20413b3d1f00521eb84 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 4 Nov 2013 11:45:22 -0500 Subject: [PATCH] notificationDaemon: Only store policies for "real" apps Fake, window-backed apps should not have a policy for them. --- js/ui/notificationDaemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {