diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 42dedbdaf..22e4b9e37 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -436,7 +436,7 @@ const FdoNotificationDaemon = new Lang.Class({ if (actionId == 'default') { hasDefaultAction = true; } else { - notification.addButton(this._makeButton(id, label, useActionIcons), Lang.bind(this, function() { + notification.addButton(this._makeButton(actionId, label, useActionIcons), Lang.bind(this, function() { this._emitActionInvoked(ndata.id, actionId); })); }