[gnome-shell/wip/fmuellner/notification-redux: 108/128] calendar: Message body is optional, so take this into account
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux: 108/128] calendar: Message body is optional, so take this into account
- Date: Tue, 17 Feb 2015 11:28:44 +0000 (UTC)
commit 7a8f054eb2589b061f96e94b25eab52d991f47c3
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Feb 16 20:19:04 2015 +0100
calendar: Message body is optional, so take this into account
js/ui/calendar.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 6bc0feb..6a640a8 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -1054,7 +1054,7 @@ const Message = new Lang.Class({
this._closeButton = new St.Button({ child: closeIcon, visible: false });
titleBox.add_actor(this._closeButton);
- this.bodyLabel = new URLHighlighter(body, false, this._useBodyMarkup);
+ this.bodyLabel = new URLHighlighter(body || '', false, this._useBodyMarkup);
this.bodyLabel.actor.add_style_class_name('message-body');
contentBox.add_actor(this.bodyLabel.actor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]