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:
Stéphane Démurget
2012-11-02 18:06:40 +01:00
committed by Florian Müllner
parent 1397c7c624
commit 39d9838cc1
4 changed files with 38 additions and 14 deletions

View File

@ -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() {