[gnome-shell] Fix demands attention to work with new messagetray api
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix demands attention to work with new messagetray api
- Date: Mon, 22 Feb 2010 22:42:45 +0000 (UTC)
commit e6b80927ad385e0a5a73f36bd9e96596b09bf503
Author: Adel Gadllah <adel gadllah gmail com>
Date: Mon Feb 22 23:40:01 2010 +0100
Fix demands attention to work with new messagetray api
js/ui/windowAttentionHandler.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js
index 58a2c08..8e0228b 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]