notificationDaemon: Do the same for GTK+ notifications
There is not good reason why activating a GTK+ notification should behave fundamentally different from fd.o notifications - we don't raise the app because we expect it to perform an appropriate action, but that does not include closing overview or calendar for us ... https://bugzilla.gnome.org/show_bug.cgi?id=744817
This commit is contained in:
parent
11b3ed276b
commit
b00f122fcf
@ -716,11 +716,17 @@ const GtkNotificationDaemonAppSource = new Lang.Class({
|
||||
activateAction: function(actionId, target) {
|
||||
let app = this._createApp();
|
||||
app.ActivateActionRemote(actionId, target ? [target] : [], getPlatformData());
|
||||
|
||||
Main.overview.hide();
|
||||
Main.panel.closeCalendar();
|
||||
},
|
||||
|
||||
open: function() {
|
||||
let app = this._createApp();
|
||||
app.ActivateRemote(getPlatformData());
|
||||
|
||||
Main.overview.hide();
|
||||
Main.panel.closeCalendar();
|
||||
},
|
||||
|
||||
addNotification: function(notificationId, notificationParams, showBanner) {
|
||||
|
Loading…
Reference in New Issue
Block a user