[gnome-shell] Add the banner to the body if the notification is expandable because it has an action area
- From: Marina Zhurakhinskaya <marinaz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Add the banner to the body if the notification is expandable because it has an action area
- Date: Wed, 6 Oct 2010 21:44:14 +0000 (UTC)
commit 4e14f18a5835a84e2391e033a5b5cb2c4fa8c57c
Author: Marina Zhurakhinskaya <marinaz redhat com>
Date: Wed Oct 6 17:25:15 2010 -0400
Add the banner to the body if the notification is expandable because it has an action area
This fixes the bug when the body would be missing from the expanded notification
that has a short body that used to fit in the one-line banner and is expandable
because it has action buttons.
We always want to add the banner to the body of an expandable notification,
unless the notification has custom content. We used to only do that when
creating this._scrollArea for the content. We should also do that when creating
this._actionArea .
https://bugzilla.gnome.org/show_bug.cgi?id=631566
js/ui/messageTray.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index aa65a15..e45bef8 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -309,6 +309,8 @@ Notification.prototype = {
this._actionArea = null;
if (this._buttonBox)
this._buttonBox = null;
+ } else {
+ this._addBannerBody();
}
this._actionArea = actor;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]