[gnome-shell] Add mouseButtonClicked argument to the callback for St.Button 'clicked' signal in Notification
- From: Marina Zhurakhinskaya <marinaz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Add mouseButtonClicked argument to the callback for St.Button 'clicked' signal in Notification
- Date: Tue, 8 Feb 2011 16:22:50 +0000 (UTC)
commit 9ec2d5d6092b38e115737663c679fae5debcf1e2
Author: Marina Zhurakhinskaya <marinaz redhat com>
Date: Tue Feb 8 02:06:42 2011 -0500
Add mouseButtonClicked argument to the callback for St.Button 'clicked' signal in Notification
St.Button 'clicked' signal now has two arguments, and because we are also
passing an action id as an argument to the _onActionInvoked() callback,
we need to have the number of the signal arguments reflected accurately in
the function arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=641809
js/ui/messageTray.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 47b8294..db9913c 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -712,7 +712,7 @@ Notification.prototype = {
return false;
},
- _onActionInvoked: function(actor, id) {
+ _onActionInvoked: function(actor, mouseButtonClicked, id) {
this.emit('action-invoked', id);
if (!this.resident) {
// We don't hide a resident notification when the user invokes one of its actions,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]