mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Show feedback notifications when the user is busy
Notifications that are created in response to direct user actions like "is ready" or "'foo' has been removed from favorites" should always be displayed even though the user has marked him/herself busy. https://bugzilla.gnome.org/show_bug.cgi?id=662900
This commit is contained in:
parent
1397c7c624
commit
39d9838cc1
4 changed files with 38 additions and 14 deletions
|
|
@ -39,6 +39,8 @@ const WindowAttentionHandler = new Lang.Class({
|
|||
let [title, banner] = this._getTitleAndBanner(app, window);
|
||||
|
||||
let notification = new MessageTray.Notification(source, title, banner);
|
||||
notification.setForFeedback(true);
|
||||
|
||||
source.notify(notification);
|
||||
|
||||
source.signalIDs.push(window.connect('notify::title', Lang.bind(this, function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue