[polari/wip/raresv/nick-popover: 12/16] chatView: Add tab before the nickTag into the buffer.
- From: Rares Visalom <raresvisalom src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/raresv/nick-popover: 12/16] chatView: Add tab before the nickTag into the buffer.
- Date: Mon, 5 Sep 2016 12:06:28 +0000 (UTC)
commit 772992b1af1befd7387eae2a0ee9d441648f5407
Author: raresv <rares visalom gmail com>
Date: Sat Aug 20 19:50:03 2016 +0300
chatView: Add tab before the nickTag into the buffer.
src/chatView.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index a9e978c..98caf19 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -1183,7 +1183,8 @@ const ChatView = new Lang.Class({
if (needsGap)
tags.push(this._lookupTag('gap'));
- this._insertWithTags(iter, message.nick + '\t', tags);
+ this._insertWithTags(iter, message.nick, tags);
+ buffer.insert(iter, '\t', -1);
}
state.lastNick = message.nick;
tags.push(this._lookupTag('message'));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]