notificationDaemon: Fix custom icons
The 'icon' property contains a serialized GIcon, so we need to deserialize it when setting the icon. https://bugzilla.gnome.org/show_bug.cgi?id=710596
This commit is contained in:
parent
04d28a0eea
commit
41315f45a9
@ -745,7 +745,8 @@ const GtkNotificationDaemonNotification = new Lang.Class({
|
||||
this._defaultAction = defaultAction ? defaultAction.unpack() : null;
|
||||
this._defaultActionTarget = defaultActionTarget;
|
||||
|
||||
this.update(title.unpack(), body ? body.unpack() : null, { gicon: gicon });
|
||||
this.update(title.unpack(), body ? body.unpack() : null,
|
||||
{ gicon: gicon ? Gio.icon_deserialize(gicon) : null });
|
||||
},
|
||||
|
||||
_activateAction: function(namespacedActionId, target) {
|
||||
|
Loading…
Reference in New Issue
Block a user