screenShield: Fix details in notifications
bannerBodyMarkup is a boolean flag to indicate that bannerBodyText contains markup, not the markup text itself. https://bugzilla.gnome.org/show_bug.cgi?id=711416
This commit is contained in:
parent
e8d9a4bd49
commit
1c68aee577
@ -198,8 +198,8 @@ const NotificationsBox = new Lang.Class({
|
||||
|
||||
let body = '';
|
||||
if (n.bannerBodyText) {
|
||||
body = n.bannerBodyMarkup ? n.bannerBodyText :
|
||||
GLib.markup_escape_text(n.bannerBodyMarkup, -1);
|
||||
body = n.bannerBodyMarkup ? n.bannerBodyText
|
||||
: GLib.markup_escape_text(n.bannerBodyText, -1);
|
||||
}
|
||||
|
||||
let label = new St.Label({ style_class: 'screen-shield-notification-count-text' });
|
||||
|
Loading…
Reference in New Issue
Block a user