[polari/wip/raresv/GSoC: 14/17] chatView: add tab before the nickTag into the buffer.



commit e699ddda36d1ac95eddd7dcbee259f52a60c4836
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 243da46..86c8217 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -1171,7 +1171,8 @@ const ChatView = new Lang.Class({
                 tags.push(nickTag);
                 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]