[gnome-shell] telepathyClient: allow pango markup in presence changes
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] telepathyClient: allow pango markup in presence changes
- Date: Sun, 13 Feb 2011 13:45:38 +0000 (UTC)
commit 09717aae58978b2467835495e1f5d842099eaf67
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Feb 12 22:18:41 2011 -0500
telepathyClient: allow pango markup in presence changes
We were adding pango markup to the message in ContactManager.setPresence,
but weren't correctly marking the message as containing pango markup,
allowing for uglyness such as "User is <i>away</i>." being shown to the
user.
https://bugzilla.gnome.org/show_bug.cgi?id=642209
js/ui/telepathyClient.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 33fc9a6..21e29ba 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -679,7 +679,7 @@ Notification.prototype = {
this.update(text, null, { customContent: true });
else
this.update(this.source.title, null, { customContent: true });
- let label = this.addBody(text);
+ let label = this.addBody(text, true);
label.add_style_class_name('chat-meta-message');
this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false});
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]