[gnome-shell/wip/fmuellner/notification-redux+sass: 193/207] notificationDaemon: Update to Notification changes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux+sass: 193/207] notificationDaemon: Update to Notification changes
- Date: Tue, 17 Feb 2015 17:10:14 +0000 (UTC)
commit c0c748fc5f6780c0567937233c1a56aa9e4abe6a
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 17 02:55:23 2015 +0100
notificationDaemon: Update to Notification changes
js/ui/notificationDaemon.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index f6ba5ca..cd77929 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -374,11 +374,11 @@ const FdoNotificationDaemon = new Lang.Class({
}
if (hasDefaultAction) {
- notification.connect('clicked', Lang.bind(this, function() {
+ notification.connect('activated', Lang.bind(this, function() {
this._emitActionInvoked(ndata.id, 'default');
}));
} else {
- notification.connect('clicked', Lang.bind(this, function() {
+ notification.connect('activated', Lang.bind(this, function() {
source.open();
}));
}
@@ -645,7 +645,7 @@ const GtkNotificationDaemonNotification = new Lang.Class({
this._activateAction(action.unpack(), actionTarget);
},
- _onClicked: function() {
+ activate: function() {
this._activateAction(this._defaultAction, this._defaultActionTarget);
this.parent();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]