GNOME Bugzilla – Bug 709998
NotificationDaemon: fix icons for notifications without an app
Last modified: 2013-10-12 23:28:35 UTC
NotificationDaemon doesn't pass a gicon to the Notification constructor, because it calls .update() immediately after, so messageTray.js calls into Source.createIcon(), which returns null and crashes. Instead, shortcut the Notification constructor by skipping .update() completely.
Created attachment 257111 [details] [review] NotificationDaemon: fix icons for notifications without an app
Review of attachment 257111 [details] [review]: OK.
wait, why does Source.createIcon fail? The source should always have an icon, even if it's a generic 'lightbulb' fallback icon.
no it returns null sometimes. But even if we fix createIcon(), shortcutting the update() makes sense to me
Attachment 257111 [details] pushed as 619389e - NotificationDaemon: fix icons for notifications without an app