From e6b80927ad385e0a5a73f36bd9e96596b09bf503 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Mon, 22 Feb 2010 23:40:01 +0100 Subject: [PATCH] Fix demands attention to work with new messagetray api --- js/ui/windowAttentionHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js index 58a2c08a6..8e0228b3d 100644 --- a/js/ui/windowAttentionHandler.js +++ b/js/ui/windowAttentionHandler.js @@ -71,7 +71,7 @@ WindowAttentionHandler.prototype = { source.connect('clicked', Lang.bind(this, function() { source.destroy(); })); } - let notification = new MessageTray.Notification(source, this._getTitle(app, window), this._getBanner(app, window), true); + let notification = new MessageTray.Notification(window.get_startup_id(), source, this._getTitle(app, window), this._getBanner(app, window), true); source.notify(notification); window.connect('notify::title', Lang.bind(this, function(win) {