Fix demands attention to work with new messagetray api

This commit is contained in:
Adel Gadllah 2010-02-22 23:40:01 +01:00
parent f9c5202dd1
commit e6b80927ad

View File

@ -71,7 +71,7 @@ WindowAttentionHandler.prototype = {
source.connect('clicked', Lang.bind(this, function() { source.destroy(); })); 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); source.notify(notification);
window.connect('notify::title', Lang.bind(this, function(win) { window.connect('notify::title', Lang.bind(this, function(win) {