mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
messageTray: Make Notification._onClicked handler public
When we will start to show notifications in the date drop-down, we will not use the actual notification actor, but construct our own UI based on Calendar.Message. This is similar to what we already do in the lock screen, except that in this case clicking the notification should activate the default action. So rename the existing _onClicked() method to activate() to make it clear that such use is acceptable. While not strictly necessary, also rename the corresponding signal to match. https://bugzilla.gnome.org/show_bug.cgi?id=744817
This commit is contained in:
parent
e404369c0f
commit
65a5baa902
5 changed files with 10 additions and 10 deletions
|
|
@ -363,7 +363,7 @@ const AutorunNotification = new Lang.Class({
|
|||
return button;
|
||||
},
|
||||
|
||||
_onClicked: function() {
|
||||
activate: function() {
|
||||
this.parent();
|
||||
|
||||
let app = Gio.app_info_get_default_for_type('inode/directory', false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue