mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
[MessageTray] Clear bannerText before re-adding on updates
Currently only the old title/summary line is removed from notifications before setting the updated values - do the same for bannerText if applicable.
This commit is contained in:
parent
b6bb26e9ae
commit
b2db95380b
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ Notification.prototype = {
|
|||
let children = this.actor.get_children();
|
||||
for (let i = 0; i < children.length; i++) {
|
||||
let meta = this.actor.get_child_meta(children[i]);
|
||||
if (clear || meta.row == 0)
|
||||
if (clear || meta.row == 0 || (this._bannerBody && meta.row == 1))
|
||||
children[i].destroy();
|
||||
}
|
||||
if (clear) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue