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
This commit is contained in:
parent
a138f59cb0
commit
9ec2d5d609
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user