messageTray: Add banner body when setting the image for a notification

We always place the banner in the body if the notification has additional
content.

https://bugzilla.gnome.org/show_bug.cgi?id=659158
This commit is contained in:
Jasper St. Pierre 2011-10-08 17:55:21 -04:00
parent 4ce0e80956
commit b05f71eb9b

View File

@ -703,6 +703,7 @@ Notification.prototype = {
this._imageBin.opacity = 230; this._imageBin.opacity = 230;
this._table.add_style_class_name('multi-line-notification'); this._table.add_style_class_name('multi-line-notification');
this._table.add_style_class_name('notification-with-image'); this._table.add_style_class_name('notification-with-image');
this._addBannerBody();
this._updateLastColumnSettings(); this._updateLastColumnSettings();
this._table.add(this._imageBin, { row: 1, this._table.add(this._imageBin, { row: 1,
col: 1, col: 1,