From 34e75fc595d8440a26ca1477acc4a02e4d0089e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 26 Oct 2013 04:40:22 +0200 Subject: [PATCH] notificationDaemon: Fix button parameter name Gio ended up using 'target' rather than 'action-target'. https://bugzilla.gnome.org/show_bug.cgi?id=710596 --- 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 928b1a971..b956db06c 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -759,7 +759,7 @@ const GtkNotificationDaemonNotification = new Lang.Class({ }, _onButtonClicked: function(button) { - let { "action": action, "action-target": actionTarget } = button; + let { 'action': action, 'target': actionTarget } = button; this._activateAction(action.unpack(), actionTarget); },