[gnome-shell] telepathyClient: Use markup for timestamps
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] telepathyClient: Use markup for timestamps
- Date: Thu, 4 Aug 2011 02:01:43 +0000 (UTC)
commit 7780c99de68070daeeb279f4a7775595f7977f59
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Aug 3 21:52:06 2011 -0400
telepathyClient: Use markup for timestamps
Commit aa1405e4eaa introduced <b> tags for timestamps, but forgot to enable
markup with them.
js/ui/telepathyClient.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 311d02e..10ea5ac 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -759,7 +759,9 @@ ChatNotification.prototype = {
let lastMessageTime = this._history[0].time;
let lastMessageDate = new Date(lastMessageTime * 1000);
- let timeLabel = this.addBody(this._formatTimestamp(lastMessageDate), false, { expand: true, x_fill: false, x_align: St.Align.END });
+ let timeLabel = this.addBody(this._formatTimestamp(lastMessageDate),
+ true,
+ { expand: true, x_fill: false, x_align: St.Align.END });
timeLabel.add_style_class_name('chat-meta-message');
this._history.unshift({ actor: timeLabel, time: lastMessageTime, realMessage: false });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]