[gnome-shell] screenShield: Fix details in notifications



commit 1c68aee577588f4ee3db2071fad08491bec2a14d
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Nov 4 15:55:40 2013 +0100

    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

 js/ui/screenShield.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 731122a..bef8131 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -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' });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]