[MessageTray] Merge Notification and NotificationBox

This will (eventually) give sources more control over the form of
notifications

https://bugzilla.gnome.org/show_bug.cgi?id=606979
This commit is contained in:
Dan Winship
2010-02-01 15:23:49 -05:00
parent ed36517615
commit d20d815b45
2 changed files with 47 additions and 61 deletions

View File

@ -122,7 +122,9 @@ NotificationDaemon.prototype = {
}
summary = GLib.markup_escape_text(summary, -1);
source.notify(summary, body);
let notification = new MessageTray.Notification(source, summary, body);
source.notify(notification);
return id;
},