diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index b897b8a71..0e5f8fcc2 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -77,8 +77,10 @@ var FdoNotificationDaemon = new Lang.Class({ bitsPerSample, nChannels, data] = hints['image-data']; return Shell.util_create_pixbuf_from_data(data, GdkPixbuf.Colorspace.RGB, hasAlpha, bitsPerSample, width, height, rowStride); + } else if (hints['image-path']) { + return this._iconForNotificationData(hints['image-path']; } - return this._iconForNotificationData(hints['image-path']); + return null; }, _fallbackIconForNotificationData(hints) {