[gnome-shell] notificationDaemon: Fix button parameter name



commit 34e75fc595d8440a26ca1477acc4a02e4d0089e6
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Oct 26 04:40:22 2013 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 928b1a9..b956db0 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);
     },
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]