[gnome-shell/wip/fmuellner/notification-redux: 81/88] messageTray: Fix notification updates
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux: 81/88] messageTray: Fix notification updates
- Date: Sun, 15 Feb 2015 17:37:36 +0000 (UTC)
commit 235ea117a9779a619af5d386a385ac210f3509a2
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 14 06:10:50 2015 +0100
messageTray: Fix notification updates
js/ui/messageTray.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 4db813e..fcba030 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -664,9 +664,9 @@ const Notification = new Lang.Class({
this.bannerBodyMarkup = params.bannerMarkup;
this._bannerBodyAdded = false;
- // Add the bannerBody now if we know for sure we'll need it
- if (this.bannerBodyText)
- this._addBannerBody();
+ if (params.clear)
+ this._bannerBodyBin.destroy_all_children();
+ this._addBannerBody();
if (this._soundName != params.soundName ||
this._soundFile != params.soundFile) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]