[MessageTray] Provide more control over Notification layout

This will be used by, eg, the chat notifications

https://bugzilla.gnome.org/show_bug.cgi?id=609453
This commit is contained in:
Dan Winship
2010-02-09 11:25:10 -05:00
parent 7642040fc0
commit d27f19a561
2 changed files with 137 additions and 42 deletions

View File

@ -123,7 +123,7 @@ NotificationDaemon.prototype = {
summary = GLib.markup_escape_text(summary, -1);
let notification = new MessageTray.Notification(source, summary, body);
let notification = new MessageTray.Notification(source, summary, body, true);
if (actions.length) {
for (let i = 0; i < actions.length - 1; i += 2)
notification.addAction(actions[i], actions[i + 1]);